use export in the one-liner to launch common script under cygwin

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-31 09:45:05 +02:00
parent 017e7ac5c0
commit e81b51db27

View file

@ -15,5 +15,5 @@ for /f "delims=" %%A in ('%bash% "cd `cygpath $HOMEPATH`/dev/dotfiles && git rev
%bash% "cd $HOME/dev/dotfiles && git remote set-url origin git@github.com:cyplo/dotfiles.git"
%bash% "cd $HOME/dev/dotfiles && git checkout $branch"
%bash% "cd $HOME/dev/dotfiles && git pull"
%bash% "DIR=$HOME/dev/dotfiles NOSUDO=true DONT_CHANGE_SHELL=true NORUST=true $DIR/common/configure_fresh_system"
%bash% "export DIR=$HOME/dev/dotfiles && NOSUDO=true DONT_CHANGE_SHELL=true NORUST=true $DIR/common/configure_fresh_system"