[PATCH] Ensure the destination of the symlink doesn't yet exists.
Colin Guthrie
cguthrie at mandriva.org
Sat Mar 12 11:46:39 CET 2011
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--
More information about the Alsa-devel
mailing list