aboutsummaryrefslogtreecommitdiff
path: root/development/blocksruntime/blocksruntime.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/blocksruntime/blocksruntime.SlackBuild')
-rw-r--r--development/blocksruntime/blocksruntime.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/blocksruntime/blocksruntime.SlackBuild b/development/blocksruntime/blocksruntime.SlackBuild
index 449c31e77c5de..1421d5cb6bf1a 100644
--- a/development/blocksruntime/blocksruntime.SlackBuild
+++ b/development/blocksruntime/blocksruntime.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=blocksruntime
MSTPRGNAM=compiler-rt
VERSION=${VERSION:-3.8.0}
@@ -41,7 +43,6 @@ if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}