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