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