Commit 3197a832 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repofix: use sed -r instead perl -pi

parent 5fd32a7e
......@@ -25,7 +25,8 @@ __fix_apt_sources_list()
[ -n "$SUDO" ] && fatal "run only under root"
for i in "$@" ; do
[ -s "$i" ] || continue
perl -i.bak -pe "$SUBST_ALT_RULE" $i
#perl -i.bak -pe "$SUBST_ALT_RULE" $i
sed -i -e -r "$SUBST_ALT_RULE" $i
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment