Hi All,
I am calling bash from dmake. The make file initiates the call to bash as
follows:
/bin/bash /S /c ""
The command to execute is between the double quotes. For instance
In Make File:
@ls -l ./SomeDir/*
Bash Command
/bin/bash /S /c "ls -l ./SomeDir/*"
The /S from what I see enables r
Hi All,
With help from a colleague, I found out part of the problem. First,
though, I should give some background for anyone that may run into the same
problem.
Environment:
dmake: downloaded latest version: dmake.exe - Version 4.12-20090907-SHAY
Cygwin: latest version: 1.7.9-1
The /S /c come
Hi All,
Success!
The solution is to move the if-statement inside the bash command string.
"$(OBJ)/%.o" :| "$(SRC)/%.c" $(SRCDIRS:+"/%.c")
@+bash -c 'if [ `expr "$(NOOPTSRCS)" : '.*\b$(<:f)\b'` == 0 ]; then echo
Compiling: $(<:f); $(CC) ... "$<"; fi'
@+bash -c 'if [ `expr "$
Hi All,
With help from a colleague, I found out part of the problem. First,
though, I should give some background for anyone that may run into the same
problem.
Environment:
dmake: downloaded latest version: dmake.exe - Version 4.12-20090907-SHAY
Cygwin: latest version: 1.7.9-1
The /S /c come
Roman Rakus wrote:
>
> On 06/22/2011 06:59 PM, sweinberger wrote:
>> Hi All,
>>
>> I am calling bash from dmake. The make file initiates the call to bash
>> as
>> follows:
>>
>> /bin/bash /S /c ""
> /bin/bash -S -c ?
> Anywa