aboutsummaryrefslogtreecommitdiff
path: root/audio/patchage/patchage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/patchage/patchage.SlackBuild')
-rw-r--r--audio/patchage/patchage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/patchage/patchage.SlackBuild b/audio/patchage/patchage.SlackBuild
index c013e4c175fa..9d4e83c74359 100644
--- a/audio/patchage/patchage.SlackBuild
+++ b/audio/patchage/patchage.SlackBuild
@@ -22,6 +22,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=patchage
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}