From: W. Trevor King Date: Tue, 23 Mar 2010 16:50:54 +0000 (-0400) Subject: Move VERSION and VOLNAME initialization to a point after ARCH has been defined X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f876681a8a2c7bae605e705837971425903b4037;p=systemrescuecd.git Move VERSION and VOLNAME initialization to a point after ARCH has been defined --- diff --git a/buildscripts/recreate-iso.sh b/buildscripts/recreate-iso.sh index 9bffc43..5fdb80d 100755 --- 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 #####################################