mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-13 00:56:47 +02:00
use verbose equals in bash
This commit is contained in:
parent
5e51c8b15f
commit
e0ffb2ff62
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ fi
|
||||||
|
|
||||||
echo "checking if /json was changed..."
|
echo "checking if /json was changed..."
|
||||||
egrep "\+{3}\s.\/json\/" diff.txt > json.txt
|
egrep "\+{3}\s.\/json\/" diff.txt > json.txt
|
||||||
if [[$? == 0]]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "JSON files are auto-generated! Please do not update these files:"
|
echo "JSON files are auto-generated! Please do not update these files:"
|
||||||
cat json.txt
|
cat json.txt
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue