aboutsummaryrefslogtreecommitdiff
path: root/network/psi-plus/psi-plus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/psi-plus/psi-plus.SlackBuild')
-rw-r--r--network/psi-plus/psi-plus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/psi-plus/psi-plus.SlackBuild b/network/psi-plus/psi-plus.SlackBuild
index e7ea99136988..a3fc0dd986d8 100644
--- a/network/psi-plus/psi-plus.SlackBuild
+++ b/network/psi-plus/psi-plus.SlackBuild
@@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psi-plus
VERSION=${VERSION:-1.5.1484}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/$TAG}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}