summaryrefslogtreecommitdiffstats
path: root/redhat/build/configure_repository.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/configure_repository.sh')
-rwxr-xr-xredhat/build/configure_repository.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh
index c40e64b64..d280319f0 100755
--- a/redhat/build/configure_repository.sh
+++ b/redhat/build/configure_repository.sh
@@ -43,5 +43,5 @@ fi
if [ -x "/usr/bin/apt-get" ]; then
[ ! -L "${RPMDIR}/RPMS.${ARCH}" ] && ln -sf "${ARCH}" "${RPMDIR}/RPMS.${ARCH}"
[ ! -L "${RPMDIR}/RPMS.noarch" ] && ln -sf "noarch" "${RPMDIR}/RPMS.noarch"
- echo "rpm file:${RPMDIR%/*} ${RPMDIR##*/} ${ARCH} noarch" >"/etc/apt/sources.list.d/rpmbuild.list"
+ echo "rpm file:${RPMDIR%/*} ${RPMDIR##*/} ${ARCH} noarch" | sudo tee "/etc/apt/sources.list.d/rpmbuild.list"
fi