File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2323if ! $LIST ; then
2424 FILE=$1
2525 if [ -z " $FILE " ]; then
26- FILE=$( find . -mindepth 1 -maxdepth 1 -iregex ' .*\( authors\| contributors\).* ' | head -n1)
26+ FILE=$( find . -mindepth 1 -maxdepth 1 \( -iname ' * authors* ' -o -iname ' * contributors* ' \) | head -n1)
2727 if [ -z " $FILE " ]; then
2828 FILE=' AUTHORS'
2929 fi
Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ main() {
553553 fi
554554
555555 if [[ -z " $changelog " ]]; then
556- changelog=" $( find . -mindepth 1 -maxdepth 1 -iregex ' .*\( change\| history\).* ' | head -n1) "
556+ changelog=" $( find . -mindepth 1 -maxdepth 1 \( -iname ' * change* ' -o -iname ' * history* ' \) | head -n1) "
557557 if [[ -z " $changelog " ]]; then
558558 changelog=" History.md" ;
559559 fi
You can’t perform that action at this time.
0 commit comments