aboutsummaryrefslogtreecommitdiff
path: root/libraries/PyYAML/PyYAML.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/PyYAML/PyYAML.SlackBuild')
-rw-r--r--libraries/PyYAML/PyYAML.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/PyYAML/PyYAML.SlackBuild b/libraries/PyYAML/PyYAML.SlackBuild
index f586725a8e95..08eb37979b08 100644
--- a/libraries/PyYAML/PyYAML.SlackBuild
+++ b/libraries/PyYAML/PyYAML.SlackBuild
@@ -21,6 +21,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=PyYAML
VERSION=${VERSION:-3.13}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}