aboutsummaryrefslogtreecommitdiff
path: root/python/python-argopt/python-argopt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-argopt/python-argopt.SlackBuild')
-rw-r--r--python/python-argopt/python-argopt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-argopt/python-argopt.SlackBuild b/python/python-argopt/python-argopt.SlackBuild
index 8ba11f1a9e145..cedc89a230766 100644
--- a/python/python-argopt/python-argopt.SlackBuild
+++ b/python/python-argopt/python-argopt.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-argopt
SRCNAM="$(echo "$PRGNAM" | cut -d- -f2)"
VERSION=${VERSION:-0.6.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}