aboutsummaryrefslogtreecommitdiff
path: root/games/mame2000-libretro/mame2000-libretro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame2000-libretro/mame2000-libretro.SlackBuild')
-rw-r--r--games/mame2000-libretro/mame2000-libretro.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/mame2000-libretro/mame2000-libretro.SlackBuild b/games/mame2000-libretro/mame2000-libretro.SlackBuild
index 12d615a1ba577..47cb43ea09926 100644
--- a/games/mame2000-libretro/mame2000-libretro.SlackBuild
+++ b/games/mame2000-libretro/mame2000-libretro.SlackBuild
@@ -23,6 +23,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=mame2000-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
VERSION=${VERSION:-2020.10.21_6655a51}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}