summaryrefslogtreecommitdiffstats
path: root/build_tools/go.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-09 23:59:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-09 23:59:06 (GMT)
commitf0939b51419995d24b4ab669832fcdb43d858e4a (patch)
tree1d94999fc56facc8fcc9a80ca25aa96f19a45068 /build_tools/go.sh
parent29554da2e615d73e8aabfc2ce672b0b29e8536e2 (diff)
downloadlinhes_dev-f0939b51419995d24b4ab669832fcdb43d858e4a.zip
exit building iso if cachepacks fails
Diffstat (limited to 'build_tools/go.sh')
-rwxr-xr-xbuild_tools/go.sh25
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"