Commit e0ffb2ff authored by davemachado's avatar davemachado
Browse files

use verbose equals in bash

parent 5e51c8b1
...@@ -20,7 +20,7 @@ fi ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment