summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/net-tools/net-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/net-tools/net-tools.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/net-tools/net-tools.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/n/net-tools/net-tools.SlackBuild b/slackware64-current/source/n/net-tools/net-tools.SlackBuild
index 796a8387b..37ec9f375 100755
--- a/slackware64-current/source/n/net-tools/net-tools.SlackBuild
+++ b/slackware64-current/source/n/net-tools/net-tools.SlackBuild
@@ -20,6 +20,7 @@
# 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)
PKGNAM=net-tools
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -35,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG