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