aboutsummaryrefslogtreecommitdiff
path: root/development/mongodb-compass/mongodb-compass.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mongodb-compass/mongodb-compass.SlackBuild')
-rw-r--r--development/mongodb-compass/mongodb-compass.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mongodb-compass/mongodb-compass.SlackBuild b/development/mongodb-compass/mongodb-compass.SlackBuild
index 36277361a2b0..b21903e0ac48 100644
--- a/development/mongodb-compass/mongodb-compass.SlackBuild
+++ b/development/mongodb-compass/mongodb-compass.SlackBuild
@@ -23,6 +23,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=mongodb-compass
VERSION=${VERSION:-1.27.1}
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}