aboutsummaryrefslogtreecommitdiff
path: root/network/axel/axel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/axel/axel.SlackBuild')
-rw-r--r--network/axel/axel.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/axel/axel.SlackBuild b/network/axel/axel.SlackBuild
index 61f650e7a2175..8b6cc62e77fed 100644
--- a/network/axel/axel.SlackBuild
+++ b/network/axel/axel.SlackBuild
@@ -24,6 +24,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=axel
VERSION=${VERSION:-2.17.10}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}