mirror of https://github.com/openssl/openssl
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 3be389435f
)
This commit is contained in:
parent
ffe7659f78
commit
403783ce05
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue