aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-03-30 21:53:09 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-03-30 21:53:09 +0000
commit19bf51d806348ed406d15c594a4c0821fe82593f (patch)
treec54f53d2f2a9a948eaae62511e70e6a6bd218ea9 /Makefile.common
parente8f2fa5ebfe7a5ce69331cb1b4dc8bc8fdacb922 (diff)
fixed strict sh compatibility issues
svn path=/trunk/externals/miXed/; revision=7525
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
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 \