aboutsummaryrefslogtreecommitdiff
path: root/python/regex/regex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/regex/regex.SlackBuild')
-rw-r--r--python/regex/regex.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/regex/regex.SlackBuild b/python/regex/regex.SlackBuild
index db5631d958e6d..bc955da55b69f 100644
--- a/python/regex/regex.SlackBuild
+++ b/python/regex/regex.SlackBuild
@@ -21,6 +21,8 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=regex
VERSION=${VERSION:-2019.08.19}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}