aboutsummaryrefslogtreecommitdiff
path: root/games/FlightGear
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear')
-rw-r--r--games/FlightGear/FlightGear.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index a32d38b3bbaa1..1f60b0315a64a 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -24,6 +24,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
SRCNAM=flightgear
VERSION=${VERSION:-2020.3.8}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}