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