httpup-repgen: updated egrep reference to use grep -E

This commit is contained in:
Matt Housh 2022-12-09 10:27:46 -06:00
parent 8a01bf0376
commit c0295368c6
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
* 0.5.1 09.12.2022 Matt Housh
- httpup-repgen: updated egrep reference to use grep -E
* 0.5.0 06.04.2019 Fredrik Rinnestam
- Changelog: https://crux.nu/gitweb/?p=tools/httpup.git;a=summary

View File

@ -1,5 +1,5 @@
name=httpup
version=0.5.0
version=0.5.1
prefix= /usr/local
bindir= $(prefix)/bin

View File

@ -62,7 +62,7 @@ generateRepoFile()
else
FILTER_LOCAL="cat"
fi
FILTER_OWN="egrep -v ($REPOFILE|$REPOCURRENTFILE|$IGNORE_FILE)"
FILTER_OWN="grep -E -v ($REPOFILE|$REPOCURRENTFILE|$IGNORE_FILE)"
find . -type d ! -name . -printf "%P\n"|$FILTER|$FILTER_LOCAL|$FILTER_OWN|\
awk '{print "d:"$1}' > $REPOFILE