aboutsummaryrefslogtreecommitdiff
path: root/system/trash-cli
diff options
context:
space:
mode:
Diffstat (limited to 'system/trash-cli')
-rw-r--r--system/trash-cli/trash-cli.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/trash-cli/trash-cli.SlackBuild b/system/trash-cli/trash-cli.SlackBuild
index 867a82042517..12a7e4072925 100644
--- a/system/trash-cli/trash-cli.SlackBuild
+++ b/system/trash-cli/trash-cli.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trash-cli
VERSION=${VERSION:-0.17.1.14}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}