Commit 5ba1a117 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack generic.sh: fix quotes

parent 54d1ad5f
......@@ -20,10 +20,11 @@ SUBGENERIC="$5"
grep '^"/' $SPEC | sed -e 's|^"\(/.*\)"$|\1|' | while read i ; do
# add dir as %dir in the filelist
if [ -d "$BUILDROOT$i" ] && [ ! -L "$BUILDROOT$i" ] ; then
subst "s|^\(\"$i\"\)$|%dir \"\1\"|" $SPEC
subst "s|^\(\"$i\"\)$|%dir \1|" $SPEC
fi
done
# replace dir /path/dir -> %dir /path/dir
grep '^/' $SPEC | while read i ; do
# add dir as %dir in the filelist
if [ -d "$BUILDROOT$i" ] && [ ! -L "$BUILDROOT$i" ] ; then
......
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