aboutsummaryrefslogtreecommitdiff
path: root/libraries/re2
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/re2')
-rw-r--r--libraries/re2/re2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild
index dbcf6c899656..9f7d91d51837 100644
--- a/libraries/re2/re2.SlackBuild
+++ b/libraries/re2/re2.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=re2
VERSION=${VERSION:-2020_05_01}
PKGVER=$(echo $VERSION | tr _ -)
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}