summaryrefslogtreecommitdiffstats
path: root/misc/ghostpcl/ghostpcl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ghostpcl/ghostpcl.SlackBuild')
-rw-r--r--misc/ghostpcl/ghostpcl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/ghostpcl/ghostpcl.SlackBuild b/misc/ghostpcl/ghostpcl.SlackBuild
index 9279a8db09..6d002e7d28 100644
--- a/misc/ghostpcl/ghostpcl.SlackBuild
+++ b/misc/ghostpcl/ghostpcl.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=ghostpcl
SRCNAM=ghostpdl
VERSION=${VERSION:-9.54.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}