Skip to content

Commit

Permalink
Merge pull request bsord#13 from neilime/patch-1
Browse files Browse the repository at this point in the history
Fix "/entrypoint.sh: line 14: [: too many arguments" issue
  • Loading branch information
bsord authored Jan 8, 2021
2 parents fa396f4 + 7f0bad0 commit f21a394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ -z "$CHARTMUSEUM_URL" ]; then
exit 1
fi

if [ -z "$CHARTMUSEUM_ACCESS_TOKEN" ] && [ [ -z "$CHARTMUSEUM_USERNAME" ] -o [ -z "$CHARTMUSEUM_PASSWORD" ] ]; then
if [ -z "$CHARTMUSEUM_ACCESS_TOKEN" ] && ( [ -z "$CHARTMUSEUM_USERNAME" ] || [ -z "$CHARTMUSEUM_PASSWORD" ] ); then
echo "Credentials are required, but none defined."
exit 1
fi
Expand Down

0 comments on commit f21a394

Please sign in to comment.