On 2013-02-05, at 23:15, Igor Stasenko <[email protected]> wrote: > On 5 February 2013 22:44, Camillo Bruni <[email protected]> wrote: >> >> On 2013-02-05, at 22:35, Igor Stasenko <[email protected]> wrote: >> >>> hmm >>> wget --quiet -qO - >>> http://pharo.gforge.inria.fr/ci/script/ciPharo20NBCogVM.sh | bash >>> >>> don't seems to work for me on windows: >>> >>> bash ciPharo20NBCogVM.sh >>> --2013-02-05 22:33:39-- >>> http://pharo.gforge.inria.fr/ci/vm/nbcog/Windows_NT/nbcog-Windows_NT-latest.zip >>> Resolving pharo.gforge.inria.fr... 131.254.249.53 >>> Connecting to pharo.gforge.inria.fr|131.254.249.53|:80... connected. >>> HTTP request sent, awaiting response... 404 Not Found >>> 2013-02-05 22:33:39 ERROR 404: Not Found. >> >> wrong environment variable for $OS? >> >> on jenkins we manually set the env var I think.. > yes. > > but it is set on mingw shell: > echo $OS > Windows_NT > > i suppose it will work if i set it to 'win'. > but then i think it may break other stuff which depends on it.. > > perhaps we should use less conflicting variable name (like > 'JENKINS_OS'), and if it is not set, then > detect OS via uname.. etc (sounds like we will need another crappy > bash script with a lot of if statements) .
sure, you can try to implement it with a small uname statement that will mostly work...
