summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/run/mklarch
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/clarch/larch/run/mklarch
parent29554da2e615d73e8aabfc2ce672b0b29e8536e2 (diff)
downloadlinhes_dev-f0939b51419995d24b4ab669832fcdb43d858e4a.zip
exit building iso if cachepacks fails
Diffstat (limited to 'build_tools/clarch/larch/run/mklarch')
-rwxr-xr-xbuild_tools/clarch/larch/run/mklarch5
1 files changed, 4 insertions, 1 deletions
diff --git a/build_tools/clarch/larch/run/mklarch b/build_tools/clarch/larch/run/mklarch
index 2a1c574..236088a 100755
--- a/build_tools/clarch/larch/run/mklarch
+++ b/build_tools/clarch/larch/run/mklarch
@@ -242,7 +242,10 @@ else
fi
cachepacs -a ${PROFILE}/cache_packs $INPACSO -d ${INSTLDIR}
-
+if [ $? -ne 0 ]
+then
+ exit 1
+fi
# Generate glibc locales
if [ -f ${PROFILE}/locale.gen ]; then