diff options
author | Richard Levitte <levitte@openssl.org> | 2018-11-24 17:51:24 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-11-24 18:45:51 +0100 |
commit | 403783ce05991e21a50d637398798a014e2c4f9d (patch) | |
tree | 87aab63d52909cac1c668c73b56fc46631406199 | |
parent | ffe7659f788300d924179209c854e6826f2c0332 (diff) |
Have util/mktar.sh display the absolute path to the tarball
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7696)
(cherry picked from commit 3be389435fc7b94623d972b622dbd9f0cd5c34f7)
-rwxr-xr-x | util/mktar.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |