aboutsummaryrefslogtreecommitdiff
path: root/development/gtest/gtest.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gtest/gtest.SlackBuild')
-rw-r--r--development/gtest/gtest.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/gtest/gtest.SlackBuild b/development/gtest/gtest.SlackBuild
index 1c416493898a7..cc9a5d66d449f 100644
--- a/development/gtest/gtest.SlackBuild
+++ b/development/gtest/gtest.SlackBuild
@@ -24,6 +24,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=gtest
SRCNAM=googletest
VERSION=${VERSION:-1.10.0}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}