diff options
Diffstat (limited to 'aux-file-data.sh')
-rwxr-xr-x | aux-file-data.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aux-file-data.sh b/aux-file-data.sh index 096f8a2f4..f13f6d044 100755 --- a/aux-file-data.sh +++ b/aux-file-data.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ $# -lt 1 ] ; then +if [ $# -lt 1 ] ; then echo "This script needs the location of the xml file to update" exit 1 fi @@ -19,7 +19,7 @@ bootmd5=$(md5sum $bootscripts | cut -f1 -d" ") TOPDIR=$(pwd) TMP_DIR=$(mktemp -d /tmp/lfsbootfiles.XXXXXX) pushd $TMP_DIR > /dev/null -tar -xf $TOPDIR/$bootscripts +tar -xf $TOPDIR/$bootscripts bootinstallsize=$(du -sk $TMP_DIR | cut -f1) popd > /dev/null rm -rf $TMP_DIR |