Merge branch Mario/confirm_rsync (XS merge request)
Closes #148
See merge request xonotic/xonotic!73
\r
:copied\r
\r
+set /p choice=This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?\r
+if /i not "%choice%" == "Y" goto end\r
+\r
set buildtype=release\r
if "%~n0" == "update-to-autobuild" set buildtype=autobuild\r
\r
exit 1
fi
+read -rp "This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?" choice
+case "$choice" in
+ Y) ;;
+ y) ;;
+ *) exit 1 ;;
+esac
+
case "${0##*/}" in
update-to-autobuild.sh)
buildtype=autobuild
\r
:copied\r
\r
+set /p choice=This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?\r
+if /i not "%choice%" == "Y" goto end\r
+\r
set buildtype=release\r
if "%~n0" == "update-to-autobuild" set buildtype=autobuild\r
\r
exit 1
fi
+read -rp "This script will DELETE any custom files in the Xonotic folder. Do you want to continue [Y/N]?" choice
+case "$choice" in
+ Y) ;;
+ y) ;;
+ *) exit 1 ;;
+esac
+
case "${0##*/}" in
update-to-autobuild.sh)
buildtype=autobuild