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:
Andreas 'ads' Scherbaum
2022-03-24 10:32:27 +01:00
committed by Daniel Gustafsson
parent 685a259ddb
commit 11aaa66f55

View File

@ -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