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