aboutsummaryrefslogtreecommitdiff
path: root/games/vcmi-resolutions/vcmi-resolutions.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/vcmi-resolutions/vcmi-resolutions.SlackBuild')
-rw-r--r--games/vcmi-resolutions/vcmi-resolutions.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/vcmi-resolutions/vcmi-resolutions.SlackBuild b/games/vcmi-resolutions/vcmi-resolutions.SlackBuild
index 997ca14984735..df8b4b076da0a 100644
--- a/games/vcmi-resolutions/vcmi-resolutions.SlackBuild
+++ b/games/vcmi-resolutions/vcmi-resolutions.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=vcmi-resolutions
SRCNAM=vcmi
VERSION=${VERSION:-20141001}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}