aboutsummaryrefslogtreecommitdiff
path: root/misc/figlet/figlet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/figlet/figlet.SlackBuild')
-rw-r--r--misc/figlet/figlet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/figlet/figlet.SlackBuild b/misc/figlet/figlet.SlackBuild
index 29e6357f449b5..d47954f58d593 100644
--- a/misc/figlet/figlet.SlackBuild
+++ b/misc/figlet/figlet.SlackBuild
@@ -25,6 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF
# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=figlet
VERSION=${VERSION:-2.2.5}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}