fix problem when the feed name is a substring of the URL.

iopsys feed matched also dev.iopsys.eu in the URL.
This commit is contained in:
Kenneth Johansson 2018-10-05 17:17:20 +02:00
parent 78fec47b65
commit ac59ef0a8a

View file

@ -387,7 +387,7 @@ insert_hash_in_feeds_config()
local feed=$(get_feed_name ${PKG_DIR})
local TO=$(cd ${PKG_DIR}; git rev-parse HEAD)
sed -i feeds.conf -e "/${feed}/ s/\(.*\)[;^].*/\1^${TO}/"
sed -i feeds.conf -e "/ ${feed} / s/\(.*\)[;^].*/\1^${TO}/"
git add feeds.conf
}