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