aboutsummaryrefslogtreecommitdiff
path: root/graphics/trimage/trimage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/trimage/trimage.SlackBuild')
-rw-r--r--graphics/trimage/trimage.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/trimage/trimage.SlackBuild b/graphics/trimage/trimage.SlackBuild
index 4eb85893e6f9e..a85aa127694aa 100644
--- a/graphics/trimage/trimage.SlackBuild
+++ b/graphics/trimage/trimage.SlackBuild
@@ -21,6 +21,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=trimage
SRCNAM=Trimage
VERSION=${VERSION:-1.0.6}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}