projects
/
systemrescuecd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c474989
)
Move VERSION and VOLNAME initialization to a point after ARCH has been defined
author
W. Trevor King
<wking@drexel.edu>
Tue, 23 Mar 2010 16:50:54 +0000
(12:50 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 23 Mar 2010 16:50:54 +0000
(12:50 -0400)
buildscripts/recreate-iso.sh
patch
|
blob
|
history
diff --git
a/buildscripts/recreate-iso.sh
b/buildscripts/recreate-iso.sh
index 9bffc438314844d8ed4dd59d24f2b575d3b37e38..5fdb80df860fd63d33a8a545bb4e82a4ba276c4d 100755
(executable)
--- a/
buildscripts/recreate-iso.sh
+++ b/
buildscripts/recreate-iso.sh
@@
-12,8
+12,6
@@
DESTDIR=/home/sysresccdiso
REPOSRC=/worksrc/sysresccd-src
REPOBIN=/worksrc/sysresccd-bin
MYDATE=$(date +%Y%m%d-%Hh%M)
-VERSION=$(cat ${REPOSRC}/overlay-squashfs-${ARCH}/root/version)
-VOLNAME="sysrcd-${VERSION}"
usage()
{
@@
-60,6
+58,8
@@
else
usage # handles --help
exit 1
fi
+VERSION=$(cat ${REPOSRC}/overlay-squashfs-${ARCH}/root/version)
+VOLNAME="sysrcd-${VERSION}"
## ERROR HANDLING
#####################################