diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 11:41:06 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-05 16:01:32 +0700 |
commit | 7f26b9929fe95171f3719de3f601b696a2def263 (patch) | |
tree | c695221c62ff155a5a657883822af40538d24f23 /system/fdclone | |
parent | e6362e61d4cb76998694df32c864f5ceb3d95d54 (diff) |
All: SlackBuilds run in the directory they are in
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fdclone')
-rw-r--r-- | system/fdclone/fdclone.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/fdclone/fdclone.SlackBuild b/system/fdclone/fdclone.SlackBuild index ef68973a4f883..ccada37269452 100644 --- a/system/fdclone/fdclone.SlackBuild +++ b/system/fdclone/fdclone.SlackBuild @@ -11,6 +11,8 @@ # pages as "fdclone", not "fd", because SBo already has an "fd". I # also don't see the point of the stub fdsh man page. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=fdclone SRCNAM=FD VERSION=${VERSION:-3.01j} @@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} |