Commit 97afd2b6 authored by Richard Levitte's avatar Richard Levitte
Browse files

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



Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7696)

(cherry picked from commit 3be389435fc7b94623d972b622dbd9f0cd5c34f7)
parent d4fd8999
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"