Fix: Purge purged too much, sometimes

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-21 14:12:37 +00:00
commit c9c084ef7e

View file

@ -121,7 +121,7 @@ status:
cvs status $(addsuffix VERSION,$(CVS_PROJECTS))
$(PGIT) status
purge:
purge: ssh-wrapper.sh
ifneq ($(wildcard CVS),)
$(PURGE_SH)
endif
@ -217,6 +217,7 @@ ssh-wrapper.sh: Makefile
/bin/echo -e '#!/bin/bash -x\n\nexec /usr/bin/ssh $$JW_BUILD_SSH_EXTRA_OPTS "$$@"' > $@.tmp
chmod 700 $@.tmp
mv $@.tmp $@
ssh-wrapper: ssh-wrapper.sh
clean.ssh-wrapper:
rm -f ssh-wrapper.sh
clean: clean.ssh-wrapper