From 3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 15 Oct 1999 07:00:58 +0000 Subject: * Fix PR/1394. * Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.) --- default.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'default.c') diff --git a/default.c b/default.c index 79f313e..8ad37e1 100644 --- a/default.c +++ b/default.c @@ -328,8 +328,7 @@ static char *default_variables[] = /* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist, and to the empty string if $@ does exist. */ "CHECKOUT,v", - "+$(patsubst $@-noexist,$(CO) $(COFLAGS) $< $@,\ - $(filter-out $@,$(firstword $(wildcard $@) $@-noexist)))", + "+$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@)", "CO", "co", "CPP", "$(CC) -E", -- cgit v1.2.3