aboutsummaryrefslogtreecommitdiff
path: root/games/Pyfa/Pyfa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/Pyfa/Pyfa.SlackBuild')
-rw-r--r--games/Pyfa/Pyfa.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/Pyfa/Pyfa.SlackBuild b/games/Pyfa/Pyfa.SlackBuild
index eba776b75e60c..58631b4ab655f 100644
--- a/games/Pyfa/Pyfa.SlackBuild
+++ b/games/Pyfa/Pyfa.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=Pyfa
VERSION=${VERSION:-1.31.0}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ SRCNAM=pyfa
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}