summaryrefslogtreecommitdiff
path: root/games/freeciv/freeciv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv/freeciv.SlackBuild')
-rw-r--r--games/freeciv/freeciv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index 29abd59ca0..220a77d4dc 100644
--- a/games/freeciv/freeciv.SlackBuild
+++ b/games/freeciv/freeciv.SlackBuild
@@ -27,6 +27,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=freeciv
VERSION=${VERSION:-2.6.5}
SRCVERSION=${SRCVERSION:-2.6.5}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}