summaryrefslogtreecommitdiff
path: root/DistUpgrade/cdromupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'DistUpgrade/cdromupgrade')
-rwxr-xr-xDistUpgrade/cdromupgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/DistUpgrade/cdromupgrade b/DistUpgrade/cdromupgrade
index 9ed8cdea..37335045 100755
--- a/DistUpgrade/cdromupgrade
+++ b/DistUpgrade/cdromupgrade
@@ -23,10 +23,10 @@ if [ ! -f $fullpath/$CODENAME.tar.gz ]; then
exit 1
fi
-TMPDIR=$(mktemp -d distupgrade.XXXXXX)
+TMPDIR=$(mktemp -d)
cd $TMPDIR
tar xzf $fullpath/$CODENAME.tar.gz
-if [ ! -x $TMPDIR/$CODENAME ];
+if [ ! -x $TMPDIR/$CODENAME ]; then
echo "Could not find the upgrade application in the archive, exiting"
exit 1
fi