diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2004-12-28 02:46:57 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2004-12-28 02:46:57 +0000 |
commit | a3154e38e899e5c4dd5d858ac556bd413b7c2d09 (patch) | |
tree | 2a9ac8d1f0254fac1a009c021953876bcca60c53 /archivers/p7zip/files | |
parent | 2bb1a3a5ea92c70b572f35d9b99c8580272e4be8 (diff) | |
download | ports-a3154e38e899e5c4dd5d858ac556bd413b7c2d09.tar.gz ports-a3154e38e899e5c4dd5d858ac556bd413b7c2d09.zip |
Notes
Diffstat (limited to 'archivers/p7zip/files')
-rw-r--r-- | archivers/p7zip/files/7z | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archivers/p7zip/files/7z b/archivers/p7zip/files/7z new file mode 100644 index 000000000000..c2c5ba19f17e --- /dev/null +++ b/archivers/p7zip/files/7z @@ -0,0 +1,9 @@ +#! /bin/sh + +PROGNAME=${0##*/} +BINPATH=$(dirname $(realpath $0))/../libexec/p7zip +if [ $PROGNAME = "7z" -a ! -x "$BINPATH/7z" -a -x "$BINPATH/7za" ]; then + PROGNAME=7za +fi + +exec "$BINPATH/$PROGNAME" "$@" |