aboutsummaryrefslogtreecommitdiff
path: root/misc/funny-manpages/funny-manpages.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/funny-manpages/funny-manpages.SlackBuild')
-rw-r--r--misc/funny-manpages/funny-manpages.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/funny-manpages/funny-manpages.SlackBuild b/misc/funny-manpages/funny-manpages.SlackBuild
index 7abadf598ad48..ca305fc3b6371 100644
--- a/misc/funny-manpages/funny-manpages.SlackBuild
+++ b/misc/funny-manpages/funny-manpages.SlackBuild
@@ -23,6 +23,8 @@
# (INCLUDING NEGLIGENCE OR 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=funny-manpages
VERSION=${VERSION:-1.3.5}
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
@@ -32,7 +34,6 @@ ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}