aboutsummaryrefslogtreecommitdiff
path: root/misc/asr-manpages/asr-manpages.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/asr-manpages/asr-manpages.SlackBuild')
-rw-r--r--misc/asr-manpages/asr-manpages.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/asr-manpages/asr-manpages.SlackBuild b/misc/asr-manpages/asr-manpages.SlackBuild
index e1766df5f8819..80bc15aae9a9d 100644
--- a/misc/asr-manpages/asr-manpages.SlackBuild
+++ b/misc/asr-manpages/asr-manpages.SlackBuild
@@ -24,6 +24,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=asr-manpages
VERSION=${VERSION:-1.3.6}
SRC_VERSION=$( echo $VERSION | cut -d. -f1,2 )
@@ -33,7 +35,6 @@ ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}