aboutsummaryrefslogtreecommitdiff
path: root/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild')
-rw-r--r--development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild b/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
index 73d7f16b966a0..95f57aad709e4 100644
--- a/development/pstack-expect-gdb/pstack-expect-gdb.SlackBuild
+++ b/development/pstack-expect-gdb/pstack-expect-gdb.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=pstack-expect-gdb
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}