[PATCH] Ensure the destination of the symlink doesn't yet exists.
12 Mar
2011
12 Mar
'11
10:46 a.m.
Similar to my last patch, the symlinking process can also fail due to the destination file already being present. This ensures we wipe the file first. --- include/sound/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/sound/Makefile b/include/sound/Makefile index f992c01..0e09df4 100644 --- a/include/sound/Makefile +++ b/include/sound/Makefile @@ -16,6 +16,7 @@ version.h: ../version.h patch -p0 -i $< $@
%.h: + rm -f $@ ln -s $(INCSRC)/$@
.includes.tmp:
--
1.7.4.1
--------------020400050902000603050300--
4998
Age (days ago)
4998
Last active (days ago)
0 comments
1 participants
participants (1)
-
Colin Guthrie