Philip Guenther-2 wrote:
>
> The '==' operator is a bash extension...
>
Yes! Indeed! I checked. The problem was in '=='. I simply use 'c' much more
than bash, that why i used it.
Since main question is closed we can now flud about others :) So, about
locks. You understand idea of locks in rig
On Mon, Jul 23, 2012 at 11:59 AM, icegood wrote:
> from newer version of gnu make (3.81 under kubuntu 12.04)
>
> .PHONEY: all
> all:
> if [ \( "$$(ls *.lock 2>/dev/null)" == "" \) ]; then \
The '==' operator is a bash extension that is supported by many but
not all shells. Perhaps the sh
On Mon, 2012-07-23 at 11:59 -0700, icegood wrote:
> .PHONEY: all
> all:
> if [ \( "$$(ls *.lock 2>/dev/null)" == "" \) ]; then \
> touch $@.lock; \
> if [ \( ! -e $@ \) -o \( ../$(tag_fn) -nt $@ \) ]; then \
> echo $@ done; \
> else \
> touch $@; \
> fi; \
>