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