On Thu, Jan 5, 2017 at 8:52 PM, Nicky Perian wrote:
I was expecting to build from the windows command prompt. I can go into
> Cygwin64 terminal and
> eval "$(autobuild source_environment)" appears to run, but doesn't
> feedback any information that it has.
>
Running that command performs a bunch
test script
#!/bin/bash
varsfile="$(mktemp -t vars.)"
autobuild source_environment > "$varsfile"
source "$varsfile"
echo "LL_BUILD = '$LL_BUILD'"
Output
Bill@BILLAW /cygdrive/c/Users/Bill/P64/viewer64
$ bash buildit.sh
LL_BUILD = ''
$varsfile contents
export AUTOBUILD='C:\Users\Bill\
>Try creating the env file and reading it. Think about how the UNIX
environment works. >The CMD shell and probably even PowerShell won't see it.
I'm thinking the problem is not being able to execute bash internal
commands such as "eval" and "source" from a windows CMD shell. Programs
such as "tee"