mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Change equality operator from bash to posix sh
The == operator is Bash specific, and since the script isn't Bash specific the = operator should be used instead. Author: Andreas 'ads' Scherbaum <ads@pgug.de> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/671fc8a3-8106-be8d-d6a6-325e19b8358f@pgug.de
This commit is contained in:

committed by
Daniel Gustafsson

parent
685a259ddb
commit
11aaa66f55
@ -10,6 +10,6 @@ read R
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
if [ "$R" == "yes" ]; then
|
||||
if [ "$R" = "yes" ]; then
|
||||
find . -name data.json | xargs ../manage.py loaddata
|
||||
fi
|
||||
|
Reference in New Issue
Block a user