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