summaryrefslogtreecommitdiffstats
path: root/academic/gcompris-qt/gcompris-qt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gcompris-qt/gcompris-qt.SlackBuild')
-rw-r--r--academic/gcompris-qt/gcompris-qt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/gcompris-qt/gcompris-qt.SlackBuild b/academic/gcompris-qt/gcompris-qt.SlackBuild
index b94cd35eb5..0ed77ec171 100644
--- a/academic/gcompris-qt/gcompris-qt.SlackBuild
+++ b/academic/gcompris-qt/gcompris-qt.SlackBuild
@@ -32,6 +32,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gcompris-qt
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -56,7 +58,6 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}