Commit 3be38943 authored by Richard Levitte's avatar Richard Levitte
Browse files

Have util/mktar.sh display the absolute path to the tarball

parent b741f153
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -30,4 +30,7 @@ if [ -z "$TARFILE" ]; then TARFILE="$NAME.tar"; fi
git archive --worktree-attributes --format=tar --prefix="$NAME/" -v HEAD \
    | gzip -9 > "$TARFILE.gz"

ls -l "$TARFILE.gz"
# Good old way to ensure we display an absolute path
td=`dirname $TARFILE`
tf=`basename $TARFILE`
ls -l "`cd $td; pwd`/$tf.gz"