aboutsummaryrefslogtreecommitdiff
path: root/sci/mathematics/scilab/scilab.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci/mathematics/scilab/scilab.SlackBuild')
-rwxr-xr-xsci/mathematics/scilab/scilab.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sci/mathematics/scilab/scilab.SlackBuild b/sci/mathematics/scilab/scilab.SlackBuild
index 7068380f..abe998b1 100755
--- a/sci/mathematics/scilab/scilab.SlackBuild
+++ b/sci/mathematics/scilab/scilab.SlackBuild
@@ -86,7 +86,7 @@ fi
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
+PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
cd "$PKG_SRC"
# Configure
@@ -100,7 +100,8 @@ make all || exit $ERROR_MAKE
# Change intall path
eval "sed -i 's¦^PREFIX=$PREFIX¦PREFIX=$PKG/${PREFIX:1}¦' Makefile"
-make install
+# Install
+make install || exit $ERROR_INSTALL
cd $PKG
for i in `grep -Rl '/tmp/package-scilab' usr/*`; do