aboutsummaryrefslogtreecommitdiff
path: root/python/python-ipcalc/python-ipcalc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-ipcalc/python-ipcalc.SlackBuild')
-rw-r--r--python/python-ipcalc/python-ipcalc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-ipcalc/python-ipcalc.SlackBuild b/python/python-ipcalc/python-ipcalc.SlackBuild
index c1b760016c38b..020592db35745 100644
--- a/python/python-ipcalc/python-ipcalc.SlackBuild
+++ b/python/python-ipcalc/python-ipcalc.SlackBuild
@@ -24,6 +24,8 @@
# (INCLUDING NEGLIGENCE OR 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=python-ipcalc
SRCNAM=ipcalc
VERSION=${VERSION:-1.99.0}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}