Commit 58f1246d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repack: fix packing dirs with spaces

parent 486f566f
...@@ -142,7 +142,7 @@ __fix_spec() ...@@ -142,7 +142,7 @@ __fix_spec()
grep '^"/' $spec | sed -e 's|^"\(/.*\)"$|\1|' | while read i ; do grep '^"/' $spec | sed -e 's|^"\(/.*\)"$|\1|' | while read i ; do
# add dir as %dir in the filelist # add dir as %dir in the filelist
if [ -d "$buildroot$i" ] ; then if [ -d "$buildroot$i" ] ; then
subst 's|^\("'$i'"\)$|%dir \1|' $spec subst "s|^\(\"$i\"\)$|%dir \1|" $spec
#else #else
# subst 's|^\("'$i'"\)$|\1|' $spec # subst 's|^\("'$i'"\)$|\1|' $spec
fi fi
......
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