diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:23:45 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:23:45 (GMT) |
commit | 618d4ad515a93d1e48934be5846edd71270171ec (patch) | |
tree | a22a9294af81215d4a7b1053e5fdb4d746f39d41 /build_tools/go.sh | |
download | linhes_dev-618d4ad515a93d1e48934be5846edd71270171ec.zip |
initital import
Diffstat (limited to 'build_tools/go.sh')
-rwxr-xr-x | build_tools/go.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/build_tools/go.sh b/build_tools/go.sh new file mode 100755 index 0000000..b776ee1 --- /dev/null +++ b/build_tools/go.sh @@ -0,0 +1,25 @@ +#!/bin/bash +clear +cd clarch || exit 1 +declare -a menuarray +menuarray=( ` ls larch/profiles/`) +echo ${array1[@]} + +element_count=${#menuarray[*]} +element_count=`expr $element_count - 1` + + +for i in `seq 0 $element_count` +do + echo "$i ) ${menuarray[$i]}" + echo +done +echo "Select the profile to use:" +read a +profile=${menuarray[$a]} +pwd +ls +echo "Running ./mklarch -f -p larch/profiles/$profile" +time ./mklarch -f -c /tmp/$profile -p larch/profiles/$profile +echo "your iso has been moved to /tmp/testcd-2.iso" +mv /home/larchroot/.larch/mylivecd.iso /tmp/testcd-2.iso |