mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 19:35:24 +00:00
make sure the rsync updater is always executed from its own dir
This commit is contained in:
parent
3fcce66692
commit
a017259636
@ -1,5 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
cd %~dp0
|
||||||
|
|
||||||
set options=-Prtzil --executability --delete-after --delete-excluded --stats
|
set options=-Prtzil --executability --delete-after --delete-excluded --stats
|
||||||
|
|
||||||
if exist Xonotic-low goto xonoticlow
|
if exist Xonotic-low goto xonoticlow
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -d "${0%/*}" ]; then
|
||||||
|
cd "${0%/*}"
|
||||||
|
fi
|
||||||
|
|
||||||
if ! which rsync >/dev/null; then
|
if ! which rsync >/dev/null; then
|
||||||
echo >&2 "FATAL: rsync not found, please install the rsync package"
|
echo >&2 "FATAL: rsync not found, please install the rsync package"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user