aboutsummaryrefslogtreecommitdiff
path: root/games/FlightGear-data/FlightGear-data.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear-data/FlightGear-data.SlackBuild')
-rw-r--r--games/FlightGear-data/FlightGear-data.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/FlightGear-data/FlightGear-data.SlackBuild b/games/FlightGear-data/FlightGear-data.SlackBuild
index d8c30ee3689fe..2278a32e434d8 100644
--- a/games/FlightGear-data/FlightGear-data.SlackBuild
+++ b/games/FlightGear-data/FlightGear-data.SlackBuild
@@ -22,6 +22,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=FlightGear-data
SRCNAM=FlightGear
VERSION=${VERSION:-2020.3.8}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
# Data package, no binaries
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}