summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild b/slackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild
index 83fd86d9c..d82dd4613 100755
--- a/slackware64-current/source/l/SDL2_image/SDL2_image.SlackBuild
+++ b/slackware64-current/source/l/SDL2_image/SDL2_image.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=SDL2_image
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -58,7 +59,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM