summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/upd-instroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 3196564af..be392ace0 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -84,6 +84,7 @@ expandPackageSet() {
PACKAGEDIR=$1
+DEST=/tmp/hd-image
if [ -z "$2" ]; then
DESTGR=/tmp/upd-instroot
elif [ -d "$2" ]; then
@@ -92,7 +93,6 @@ else
echo "$2 is not a directory!"
exit 1
fi
-DEST=$DESTGR/hd-image
rm -rf $DEST $DESTGR
mkdir -p $DEST