File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e # Stop on error
3- cd " $( dirname " $0 " ) /src "
3+ cd " $( dirname " $0 " ) "
44
55if pwd | grep -q " " ; then
66 echo " You have cloned the source directory into a path with spaces"
Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ if [[ ! -d "$ORIGINAL_INSTALL_DIR" ]]; then
1717fi
1818
1919link_dir () {
20- ln -sn " ${ORIGINAL_INSTALL_DIR} /$1 " " ./game/$1 "
20+ ln -sn " ${ORIGINAL_INSTALL_DIR} /$1 " " .. /game/$1 "
2121}
2222
2323link_glob () {
24- ln -sn " ${ORIGINAL_INSTALL_DIR} /$1 /" * " $2 " " ./game/$1 /"
24+ ln -sn " ${ORIGINAL_INSTALL_DIR} /$1 /" * " $2 " " .. /game/$1 /"
2525}
2626
2727copy () {
28- cp -rfT --remove-destination " ${ORIGINAL_INSTALL_DIR} /$1 " " ./game/$1 "
28+ cp -rfT --remove-destination " ${ORIGINAL_INSTALL_DIR} /$1 " " .. /game/$1 "
2929}
3030
3131git submodule update --init
3232
33- cp -rfT game_clean/copy/ ./game/
33+ cp -rfT game_clean/copy/ .. /game/
3434
3535link_dir hl2
3636link_dir platform
3737link_dir tf/maps
38- mkdir ./game/tf/materials
38+ mkdir .. /game/tf/materials
3939link_dir tf/materials/models
4040link_dir tf/materials/vgui
4141link_dir tf/media
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
3- cd " $( dirname " $0 " ) " /game
3+ cd " $( dirname " $0 " ) " /../ game
44
55MANGOHUD=" $( command -v mangohud || true) "
66ARGS=" -steam -game tf -insecure -novid -nojoy -nosteamcontroller -nohltv -particles 1 -noborder -particle_fallback 2 -dev -nobreakpad -console"
You can’t perform that action at this time.
0 commit comments