projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "forensic" to the append line (so we can grep for it)
[grml-live.git]
/
grml-live
diff --git
a/grml-live
b/grml-live
index
ba87869
..
cfbc0b3
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-702,12
+702,17
@@
else
-b $BOOT_FILE \
-o "${ISO_OUTPUT}/${ISO_NAME}" . ; RC=$?
-b $BOOT_FILE \
-o "${ISO_OUTPUT}/${ISO_NAME}" . ; RC=$?
- # generate md5sum of ISO if we are using class 'RELEASE':
+ # generate md5sum
and sha1sum
of ISO if we are using class 'RELEASE':
case $CLASSES in *RELEASE*)
[ "$RC" = 0 ] && \
case $CLASSES in *RELEASE*)
[ "$RC" = 0 ] && \
- ( cd $ISO_OUTPUT && \
- md5sum ${ISO_NAME} > ${ISO_NAME}.md5 && \
- touch -r ${ISO_NAME} ${ISO_NAME}.md5 )
+ (
+ if cd $ISO_OUTPUT ; then
+ md5sum ${ISO_NAME} > ${ISO_NAME}.md5 && \
+ touch -r ${ISO_NAME} ${ISO_NAME}.md5
+ sha1sum ${ISO_NAME} > ${ISO_NAME}.sha1 && \
+ touch -r ${ISO_NAME} ${ISO_NAME}.sha1
+ fi
+ )
;;
esac
;;
esac