summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-07-21 02:54:13 -0500
committerJesse Luehrs <doy@tozt.net>2010-07-21 02:54:13 -0500
commit5e80c309ce28b20327c6d45d54d3ba4c22857a57 (patch)
treeb4118099ea490f4a7318791627783d85a6cf22a8 /Makefile
parent3009d6bb29d11c221123901678e6bdd2713c0d0e (diff)
downloadconf-5e80c309ce28b20327c6d45d54d3ba4c22857a57.tar.gz
conf-5e80c309ce28b20327c6d45d54d3ba4c22857a57.zip
handle existing directories during make install better
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46f528b..8a6e073 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ clean :
@crontab -d
$(INTO)/.% : %
- @[ ! -f $@ ] || readlink -q $@ || mv -f $@ $@.bak
+ @[ -e $@ ] && [ ! -h $@ ] && mv -f $@ $@.bak
$(LN) $(PWD)/$< $@
/var/spool/cron/$(USER) : crontab