aboutsummaryrefslogtreecommitdiff
path: root/development/mockpp/mockpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mockpp/mockpp.SlackBuild')
-rw-r--r--development/mockpp/mockpp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mockpp/mockpp.SlackBuild b/development/mockpp/mockpp.SlackBuild
index d03f757da36ed..e524e1a9e3eca 100644
--- a/development/mockpp/mockpp.SlackBuild
+++ b/development/mockpp/mockpp.SlackBuild
@@ -22,6 +22,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=mockpp
VERSION=${VERSION:-1.16.6}
BUILD=${BUILD:-1}
@@ -49,7 +51,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}