aboutsummaryrefslogtreecommitdiff
path: root/misc/go-md2man
diff options
context:
space:
mode:
Diffstat (limited to 'misc/go-md2man')
-rw-r--r--misc/go-md2man/go-md2man.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/go-md2man/go-md2man.SlackBuild b/misc/go-md2man/go-md2man.SlackBuild
index 931a73db072fc..6e9b8fe3d6c43 100644
--- a/misc/go-md2man/go-md2man.SlackBuild
+++ b/misc/go-md2man/go-md2man.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=go-md2man
VERSION=${VERSION:-1.0.8}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}