From f876681a8a2c7bae605e705837971425903b4037 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 23 Mar 2010 12:50:54 -0400 Subject: [PATCH] Move VERSION and VOLNAME initialization to a point after ARCH has been defined --- buildscripts/recreate-iso.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ##################################### -- 2.26.2