Thread (3 messages) 3 messages, 2 authors, 2012-03-26

Re: [PATCH rt-tests RFC] install: Fix failed to create symbolic link hwlatdetect file exists

From: John Kacur <jkacur@redhat.com>
Date: 2012-03-26 13:35:33

On Mon, Mar 26, 2012 at 3:09 PM, richard -rw- weinberger
[off-list ref] wrote:
On Fri, Mar 23, 2012 at 3:20 AM, John Kacur [off-list ref] wrote:
quoted
               install -D -m 755 src/hwlatdetect/hwlatdetect.py $(DESTDIR)$(PYLIB)/hwlatdetect.py ; \
+               rm -f "$(DESTDIR)$(bindir)/hwlatdetect" ; \
               ln -s $(PYLIB)/hwlatdetect.py "$(DESTDIR)$(bindir)/hwlatdetect" ; \
Why an additional command?
Just change "ln -s" to "ln -sf"...

--
Yup, that's better, but Andrew beat you to it.

Thanks!
John
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help