aboutsummaryrefslogtreecommitdiff
path: root/development/mongodb-compass
diff options
context:
space:
mode:
Diffstat (limited to 'development/mongodb-compass')
-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 36277361a2b08..b21903e0ac48b 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}