mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
iop: match against the full feed name when updating feeds.conf
Fix bug that is causing the wrong hash to be updated in case one feed name happens to be a substring of another feed name.
This commit is contained in:
parent
435aafe744
commit
eab01d27dd
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ insert_feed_hash_in_feeds_config()
|
|||
local feed=$1
|
||||
local TO=$(cd feeds/${feed}; 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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue