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