|
|
0d20ef |
From 8b486425c13d558742df915092d4b2c3a96a95b8 Mon Sep 17 00:00:00 2001
|
|
|
0d20ef |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
0d20ef |
Date: Fri, 24 Oct 2014 09:12:56 +0100
|
|
|
0d20ef |
Subject: [PATCH] bash-completion: Replace 'ln -sf' commands with rm; $(LN_S).
|
|
|
0d20ef |
|
|
|
0d20ef |
(cherry picked from commit 68ac0afc8d578bede4a80ebaab07bc54a535a4ef)
|
|
|
0d20ef |
---
|
|
|
0d20ef |
bash/Makefile.am | 33 ++++++++++++++++++++++-----------
|
|
|
0d20ef |
1 file changed, 22 insertions(+), 11 deletions(-)
|
|
|
0d20ef |
|
|
|
0d20ef |
diff --git a/bash/Makefile.am b/bash/Makefile.am
|
|
|
0d20ef |
index 2da6726..e8c33d4 100644
|
|
|
0d20ef |
--- a/bash/Makefile.am
|
|
|
0d20ef |
+++ b/bash/Makefile.am
|
|
|
0d20ef |
@@ -41,28 +41,39 @@ EXTRA_DIST = \
|
|
|
0d20ef |
|
|
|
0d20ef |
# Some of the scripts are simply symbolic links.
|
|
|
0d20ef |
virt-cat:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-df:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-edit:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-filesystems:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-format:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-inspector:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-log:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-ls:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
virt-sysprep:
|
|
|
0d20ef |
- ln -sf virt-alignment-scan $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-alignment-scan $@
|
|
|
0d20ef |
|
|
|
0d20ef |
virt-builder:
|
|
|
0d20ef |
- ln -sf virt-resize $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-resize $@
|
|
|
0d20ef |
virt-sparsify:
|
|
|
0d20ef |
- ln -sf virt-resize $@
|
|
|
0d20ef |
+ rm -f $@
|
|
|
0d20ef |
+ $(LN_S) virt-resize $@
|
|
|
0d20ef |
|
|
|
0d20ef |
if HAVE_BASH_COMPLETION
|
|
|
0d20ef |
|
|
|
0d20ef |
--
|
|
|
0d20ef |
1.8.3.1
|
|
|
0d20ef |
|