From: Richard Levitte Date: Sat, 24 Nov 2018 16:51:24 +0000 (+0100) Subject: Have util/mktar.sh display the absolute path to the tarball X-Git-Tag: OpenSSL_1_1_0k~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=403783ce05991e21a50d637398798a014e2c4f9d;p=openssl Have util/mktar.sh display the absolute path to the tarball Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/7696) (cherry picked from commit 3be389435fc7b94623d972b622dbd9f0cd5c34f7) --- diff --git a/util/mktar.sh b/util/mktar.sh index bf874a14d8..17115cf59d 100755 --- a/util/mktar.sh +++ b/util/mktar.sh @@ -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"