aboutsummaryrefslogtreecommitdiff
path: root/graphics/XnViewMP
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/XnViewMP')
-rw-r--r--graphics/XnViewMP/XnViewMP.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/XnViewMP/XnViewMP.SlackBuild b/graphics/XnViewMP/XnViewMP.SlackBuild
index a51776afc0e5a..49cf377bc5545 100644
--- a/graphics/XnViewMP/XnViewMP.SlackBuild
+++ b/graphics/XnViewMP/XnViewMP.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)
+
PRGNAM=XnViewMP
VERSION=${VERSION:-0.94.1}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ else
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}