projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fd899
)
Have util/mktar.sh display the absolute path to the tarball
author
Richard Levitte
<levitte@openssl.org>
Sat, 24 Nov 2018 16:51:24 +0000
(17:51 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Sat, 24 Nov 2018 17:43:54 +0000
(18:43 +0100)
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
)
util/mktar.sh
patch
|
blob
|
history
diff --git
a/util/mktar.sh
b/util/mktar.sh
index bf874a14d8a0b6489b9c621041afa6a98f7a0381..17115cf59dd7add9ac1d9677143814e90e1c3977 100755
(executable)
--- 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"