[GRASS-dev] some backports to 6.3.0-CVS branch
hamish_nospam at yahoo.com
Fri Oct 26 21:26:08 EDT 2007
> There is a check, hence the 'if [ "" != "" ] ...' part. But the shell
> seems to be complaining about being unable to parse the command even
> though it isn't going to execute it.
> The command in question is the last one for the "clean" target in
> -rm -rf $(OBJDIR) $(EXTRA_CLEAN_DIRS)
> -rm -f $(EXTRA_CLEAN_FILES) *.tmp.html
> -if [ "$(CLEAN_SUBDIRS)" != "" ] ; then \
> for dir in $(CLEAN_SUBDIRS) ; do \
> $(MAKE) -C $$dir clean ; \
> done ; \
- -if [ "$(CLEAN_SUBDIRS)" != "" ] ; then \
+ -if [ -n "$(CLEAN_SUBDIRS)" ] ; then \
What OS & make version are you running Benjamin?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the grass-dev