diff options
Diffstat (limited to 'build_tools/go.sh')
-rwxr-xr-x | build_tools/go.sh | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/build_tools/go.sh b/build_tools/go.sh index 4cbea8b..4fe631e 100755 --- a/build_tools/go.sh +++ b/build_tools/go.sh @@ -9,17 +9,22 @@ echo ${array1[@]} element_count=${#menuarray[*]} element_count=`expr $element_count - 1` +if [ ! x$1 = xmv ] +then + 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 +else + profile=MV-local +fi -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 $profile iso has been moved to /tmp/testcd-2.iso" |