aboutsummaryrefslogtreecommitdiff
path: root/misc/doclifter/doclifter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/doclifter/doclifter.SlackBuild')
-rw-r--r--misc/doclifter/doclifter.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/doclifter/doclifter.SlackBuild b/misc/doclifter/doclifter.SlackBuild
index eac087af76a0b..2bcfa501bb1cb 100644
--- a/misc/doclifter/doclifter.SlackBuild
+++ b/misc/doclifter/doclifter.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=doclifter
VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
# We package Python scripts, so:
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}