aboutsummaryrefslogtreecommitdiff
path: root/graphics/goocanvas2/goocanvas2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/goocanvas2/goocanvas2.SlackBuild')
-rw-r--r--graphics/goocanvas2/goocanvas2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/goocanvas2/goocanvas2.SlackBuild b/graphics/goocanvas2/goocanvas2.SlackBuild
index 056e786f0ac3d..c752d75c7a390 100644
--- a/graphics/goocanvas2/goocanvas2.SlackBuild
+++ b/graphics/goocanvas2/goocanvas2.SlackBuild
@@ -20,6 +20,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=goocanvas2
SRCNAM=goocanvas
VERSION=${VERSION:-2.0.4}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}