aboutsummaryrefslogtreecommitdiff
path: root/office/gnucash-docs/gnucash-docs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/gnucash-docs/gnucash-docs.SlackBuild')
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/gnucash-docs/gnucash-docs.SlackBuild b/office/gnucash-docs/gnucash-docs.SlackBuild
index 15f8852ee220e..2cca5534a4704 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -22,6 +22,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-docs
DESTNAM=gnucash
VERSION=${VERSION:-4.5}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
# Docs only, no binaries
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}