Benjamin Ducke wrote: > True. I guess there should be a check for an unset var to not run > this loop. However, I don't know what that var is.
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 Rules.make: clean: -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 ; \ fi -- Glynn Clements <[EMAIL PROTECTED]> _______________________________________________ grass-dev mailing list grass-dev@grass.itc.it http://grass.itc.it/mailman/listinfo/grass-dev