Skip to content

Commit

Permalink
Addresses shellcheck findings
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed Jul 30, 2019
1 parent 5ac9284 commit e0969c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/make-guac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ write_manifest()
printf "\"translations\" : [ \"translations/en.json\" ]\n"
printf "}\n"
) > "${guac_manifest}"
if ! ( [[ -n "${URL_1}" ]] || [[ -n "${URL_2}" ]] )
if ! { [[ -n "${URL_1}" ]] || [[ -n "${URL_2}" ]]; }
then
sed -i '/html/d' "${guac_manifest}"
fi
Expand Down Expand Up @@ -426,7 +426,7 @@ log "Setting up the custom branding extension"
write_manifest "${GUAC_EXT}"
write_brand "${GUAC_EXT}"

if ( [[ -n "${URL_1}" ]] || [[ -n "${URL_2}" ]] )
if [[ -n "${URL_1}" ]] || [[ -n "${URL_2}" ]]
then
# Add custom URLs to Guacamole login page using Guac extensions.
write_links "${GUAC_EXT}"
Expand Down

0 comments on commit e0969c1

Please sign in to comment.