Thanks, Joey! I'll avoid the $(shell ...) altogether and use the backticks (even though I prefer the $() syntax in my regular, non-Makefile shell scripts). =) @Harald: linking to bash didn't solve it. Perhaps it was a Bash3-ism. BR -- Danai