aboutsummaryrefslogtreecommitdiff
path: root/python/python-iso3166/python-iso3166.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-iso3166/python-iso3166.SlackBuild')
-rw-r--r--python/python-iso3166/python-iso3166.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-iso3166/python-iso3166.SlackBuild b/python/python-iso3166/python-iso3166.SlackBuild
index 55d5319c2f78..3f0a92c22218 100644
--- a/python/python-iso3166/python-iso3166.SlackBuild
+++ b/python/python-iso3166/python-iso3166.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=python-iso3166
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}