aboutsummaryrefslogtreecommitdiff
path: root/academic/biblesync/biblesync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/biblesync/biblesync.SlackBuild')
-rw-r--r--academic/biblesync/biblesync.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/biblesync/biblesync.SlackBuild b/academic/biblesync/biblesync.SlackBuild
index 65d4b56b03ec..a41bebcc074d 100644
--- a/academic/biblesync/biblesync.SlackBuild
+++ b/academic/biblesync/biblesync.SlackBuild
@@ -30,6 +30,8 @@
# (INCLUDING NEGLIGENCE OR 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=biblesync
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}