summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/run/cachepacs
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/cachepacs
parent29554da2e615d73e8aabfc2ce672b0b29e8536e2 (diff)
downloadlinhes_dev-f0939b51419995d24b4ab669832fcdb43d858e4a.zip
exit building iso if cachepacks fails
Diffstat (limited to 'build_tools/clarch/larch/run/cachepacs')
-rwxr-xr-xbuild_tools/clarch/larch/run/cachepacs3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_tools/clarch/larch/run/cachepacs b/build_tools/clarch/larch/run/cachepacs
index f8b5951..3e4a1fb 100755
--- a/build_tools/clarch/larch/run/cachepacs
+++ b/build_tools/clarch/larch/run/cachepacs
@@ -109,11 +109,12 @@ doInstall() {
mount --bind /proc ${INSTLDIR}/proc
${PACMAN} -r ${INSTLDIR} -Sw $1
RET=$?
+ echo $RET
umount ${INSTLDIR}/proc
umount ${INSTLDIR}/sys
if [ ${RET} -ne 0 ]; then
echo "//"
- echo "// Package $1 FAILED."
+ echo "// cachepacks package $1 FAILED."
echo "//"
return 1
fi