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 | |
parent | e8f2fa5ebfe7a5ce69331cb1b4dc8bc8fdacb922 (diff) |
fixed strict sh compatibility issues
svn path=/trunk/externals/miXed/; revision=7525
-rw-r--r-- | Makefile.common | 4 | ||||
-rw-r--r-- | toxy/Makefile | 3 |
2 files changed, 3 insertions, 4 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 \ diff --git a/toxy/Makefile b/toxy/Makefile index cd9cd5a..5527532 100644 --- a/toxy/Makefile +++ b/toxy/Makefile @@ -9,8 +9,7 @@ checkwiq: $(WIQFILE): $(WIDPATH) @echo transferring widget definitions from \"$<\" to \"$@\" # LATER think how to replace puts with pdtk_post - @echo -e '// Do not edit this file (edit "$<", and run "make").\ -\n//\nputs stderr [concat loading built-in widget definitions]' \ + @echo '// Do not edit this file (edit "$<", and run "make").\n//\nputs stderr [concat loading built-in widget definitions]' \ | cat - $< | sed \ -e '1,\|//$$|{p;d;}' \ -e 's/\([\\\"]\)/\\\1/g' \ |