diff --git a/misc/build_current_bundle.bat b/misc/build_current_bundle.bat index 64919903f7..c7912b793c 100644 --- a/misc/build_current_bundle.bat +++ b/misc/build_current_bundle.bat @@ -3,6 +3,8 @@ rem This script would compile firmware, dev console and win32 simulator into a s rem This script depends on Cygwin tools: zip rem +FTP_SERVER=home451478433.1and1-data.host + echo build_current_bundle.bat: Hello rusEfi build full bundle java -version @@ -126,7 +128,7 @@ pwd zip -j temp/rusefi_simulator.zip simulator/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar -echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@rusefi.com/ > ftp_commands.txt +echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt echo binary >> ftp_commands.txt echo put rusefi_bundle.zip >> ftp_commands.txt diff --git a/misc/unit_tests.bat b/misc/unit_tests.bat index 459450a58c..80db32951e 100644 --- a/misc/unit_tests.bat +++ b/misc/unit_tests.bat @@ -1,5 +1,7 @@ echo I am unit_tests.bat +FTP_SERVER=home451478433.1and1-data.host + cd firmware git submodule update --init @@ -47,4 +49,4 @@ zip -j firmware/build/rusefi_firmware.zip firmware/svnversion.h firmware/build/r echo Now uploading only firmware -ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% rusefi.com separate_files firmware/build/rusefi_firmware.zip +ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% separate_files firmware/build/rusefi_firmware.zip