Commit 53808a80 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Build cygwin in build\cygwin

parent 56884f3d
......@@ -7,7 +7,7 @@ var BACKUP_CONF_FILE = 'backups.rc';
var BAAS_LOG_DIR = path.join(get_user_home(), BAAS_HOME_DIR, 'log');
var exec_path = path.dirname(process.execPath);
var CYGWIN_BASH = path.join(exec_path, "bin", "bash.exe");
var CYGWIN_BASH = path.join(exec_path, "cygwin", "bin", "bash.exe");
function get_user_home() {
return process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
......
if not exist "%~dp0\build" mkdir %~dp0\build
if not exist "%~dp0\build\packages" mkdir %~dp0\build\packages
.\setup-x86_64.exe -q -N -n -d -R %~dp0\build -l %~dp0\build\packages -s ftp://ftp.gabrys.biz/pub/cygwin -P python,gnupg,librsync-devel,librsync1,wget,python-setuptools,gcc-core,gcc
%~dp0\build\bin\bash.exe %~dp0\install_duplicity.sh
if not exist "%~dp0\build\cygwin" mkdir %~dp0\build\cygwin
if not exist "%~dp0\build\cygwin\packages" mkdir %~dp0\build\cygwin\packages
.\setup-x86_64.exe -q -N -n -d -R %~dp0\build\cygwin -l %~dp0\build\cygwin\packages -s ftp://ftp.gabrys.biz/pub/cygwin -P python,gnupg,librsync-devel,librsync1,wget,python-setuptools,gcc-core,gcc
%~dp0\build\cygwin\bin\bash.exe %~dp0\install_duplicity.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment