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