diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-03-30 21:53:09 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-03-30 21:53:09 +0000 |
commit | 19bf51d806348ed406d15c594a4c0821fe82593f (patch) | |
tree | c54f53d2f2a9a948eaae62511e70e6a6bd218ea9 /Makefile.common | |
parent | e8f2fa5ebfe7a5ce69331cb1b4dc8bc8fdacb922 (diff) |
fixed strict sh compatibility issues
svn path=/trunk/externals/miXed/; revision=7525
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index bdc4d71..be418ef 100644 --- a/Makefile.common +++ b/Makefile.common @@ -224,8 +224,8 @@ SUBDIRS_DEFAULT = @for i in $(MIXED_DIRS) and_in_case_it_is_null ; \ cd $$i; $(MAKE) ; fi ) ; done define_build: - @if [[ -f build_counter && `id -un` == krzYszcz && \ - `date -r build_counter +%j` != `date +%j` ]] ; then \ + @if [ -f build_counter ] && [ `id -un` = krzYszcz ] && \ + [ `date -r build_counter +%j` != `date +%j` ] ; then \ mv build_counter build_counter~ ; \ echo -n 'increment build counter (y/n)? [n]' ; read doit ; \ if [ $$doit ] && [ $$doit == 'y' ] ; then \ |