summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/n/curl/curl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/n/curl/curl.SlackBuild')
-rwxr-xr-xslackware64-current/source/n/curl/curl.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/n/curl/curl.SlackBuild b/slackware64-current/source/n/curl/curl.SlackBuild
index 42020b33f..24d640de1 100755
--- a/slackware64-current/source/n/curl/curl.SlackBuild
+++ b/slackware64-current/source/n/curl/curl.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=curl
VERSION=${VERSION:-$(echo curl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -37,7 +38,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-curl