summaryrefslogtreecommitdiff
path: root/mk/xe-guest-utilities.spec.in
diff options
context:
space:
mode:
authorKun Ma <kun.ma@citrix.com>2017-03-21 15:35:55 +0800
committerKun Ma <kun.ma@citrix.com>2017-03-21 15:35:55 +0800
commit472b5842124bc7db1ef583d0d929c7f1d17aa246 (patch)
tree160d4f3aa227aa4ea000aa963869e1bb93ed81cc /mk/xe-guest-utilities.spec.in
parentb7da1b038eead2ec046c820f70b1271d9fbf6e64 (diff)
downloadvyos-xe-guest-utilities-472b5842124bc7db1ef583d0d929c7f1d17aa246.tar.gz
vyos-xe-guest-utilities-472b5842124bc7db1ef583d0d929c7f1d17aa246.zip
CP-20237: Replace place-holder for DISTRO to '^'
Signed-off-by: Kun Ma <kun.ma@citrix.com>
Diffstat (limited to 'mk/xe-guest-utilities.spec.in')
-rw-r--r--mk/xe-guest-utilities.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/xe-guest-utilities.spec.in b/mk/xe-guest-utilities.spec.in
index 512a47c..33392bc 100644
--- a/mk/xe-guest-utilities.spec.in
+++ b/mk/xe-guest-utilities.spec.in
@@ -84,7 +84,7 @@ if [ -d /etc/yum.repos.d ] && [ -n "${os_distro}" ] && [ -n "${os_majorver}" ] ;
if [ -f /etc/yum.repos.d/XenSource.repo ] ; then
rm -f /etc/yum.repos.d/XenSource.repo # contains deprecated urls
fi
- sed -e "s/@DISTRO@/${distro}/g" \
+ sed -e "s/\^DISTRO\^/${distro}/g" \
< /usr/share/doc/%{name}-%{version}/examples/Citrix.repo \
> /etc/yum.repos.d/Citrix.repo
;;