summaryrefslogtreecommitdiffstats
path: root/academic/gcompris/gcompris.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gcompris/gcompris.SlackBuild')
-rw-r--r--academic/gcompris/gcompris.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/gcompris/gcompris.SlackBuild b/academic/gcompris/gcompris.SlackBuild
index 938c17479d..7be5021d9e 100644
--- a/academic/gcompris/gcompris.SlackBuild
+++ b/academic/gcompris/gcompris.SlackBuild
@@ -27,6 +27,8 @@
# 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=gcompris
VERSION=${VERSION:-17.05}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}