Commit 041104c6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

make LISTBUILD without spaces

parent 5d883bf9
...@@ -145,11 +145,13 @@ do ...@@ -145,11 +145,13 @@ do
fi fi
fi fi
if [ -f $RPMDIR/SRPMS/$NAMESRPMIN ] ; then if [ -f $RPMDIR/SRPMS/$NAMESRPMIN ] ; then
LISTBUILT="$LISTBUILT$NAMESRPMIN " LISTBUILT="$LISTBUILT $NAMESRPMIN"
else else
fatal "Can't find '$NAMESRPMIN' in '$RPMDIR/SRPMS'" fatal "Can't find '$NAMESRPMIN' in '$RPMDIR/SRPMS'"
fi fi
done done
# remove extra space before list
LISTBUILT=$(echo "$LISTBUILT" | sed -e "s|^ ||")
test -z "$LISTBUILT" && fatal "Error: List for build is empty. Check if file is exist." test -z "$LISTBUILT" && fatal "Error: List for build is empty. Check if file is exist."
#LISTRPMARGS=`echo ${LISTRPMARGS} | sed -e "s/--nodeps//g"` #LISTRPMARGS=`echo ${LISTRPMARGS} | sed -e "s/--nodeps//g"`
} }
......
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