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