summaryrefslogtreecommitdiff
path: root/development/rustup
diff options
context:
space:
mode:
Diffstat (limited to 'development/rustup')
-rw-r--r--development/rustup/rustup.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/rustup/rustup.SlackBuild b/development/rustup/rustup.SlackBuild
index e32b032b30..d4a475daed 100644
--- a/development/rustup/rustup.SlackBuild
+++ b/development/rustup/rustup.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=rustup
VERSION=${VERSION:-1.24.3}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
fi
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}