aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pngnq-s9/pngnq-s9.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/pngnq-s9/pngnq-s9.SlackBuild')
-rw-r--r--multimedia/pngnq-s9/pngnq-s9.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/pngnq-s9/pngnq-s9.SlackBuild b/multimedia/pngnq-s9/pngnq-s9.SlackBuild
index 57435bae7add3..f6e9c14540184 100644
--- a/multimedia/pngnq-s9/pngnq-s9.SlackBuild
+++ b/multimedia/pngnq-s9/pngnq-s9.SlackBuild
@@ -19,6 +19,8 @@
# (INCLUDING NEGLIGENCE OR 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=pngnq-s9
VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}