mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 15:20:46 +01:00
contrib/makerepo: fix error writing makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
4fcc8c8d24
commit
d18a4ec128
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ if [[ -f ./.git/makerepo.gitignore ]]; then
|
|||
fi
|
||||
|
||||
DEFAULT_BACKUP_PATTERN='*.[0-9][0-9][0-9][0-9][-.]*.orig'
|
||||
if ! grep -q -e "$DEFAULT_BACKUP_PATTERN" "./makerepo.gitignore" ; then
|
||||
if ! grep -F -q -e "$DEFAULT_BACKUP_PATTERN" "./makerepo.gitignore" ; then
|
||||
echo "$DEFAULT_BACKUP_PATTERN" >> ./makerepo.gitignore
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue