aboutsummaryrefslogtreecommitdiff
path: root/development/bpython/bpython.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/bpython/bpython.SlackBuild')
-rw-r--r--development/bpython/bpython.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild
index ffa1765c36b2..dc798310e98a 100644
--- a/development/bpython/bpython.SlackBuild
+++ b/development/bpython/bpython.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=bpython
VERSION=${VERSION:-0.21}
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}