diff options
Diffstat (limited to 'slackware64-current/source/l/openjpeg/openjpeg.SlackBuild')
-rwxr-xr-x | slackware64-current/source/l/openjpeg/openjpeg.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/openjpeg/openjpeg.SlackBuild b/slackware64-current/source/l/openjpeg/openjpeg.SlackBuild index b5a02e87e..3f9f54a2d 100755 --- a/slackware64-current/source/l/openjpeg/openjpeg.SlackBuild +++ b/slackware64-current/source/l/openjpeg/openjpeg.SlackBuild @@ -23,6 +23,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) + PKGNAM=openjpeg VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -58,7 +60,6 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-openjpeg |