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