Skip to content

Commit

Permalink
🚑 Fixing site params not being read correctly from serve scripts (#626)
Browse files Browse the repository at this point in the history
While debugging #625 I noticed params weren't being set correctly because we added the php version to the site params bumping the params to $6 instead of $5
  • Loading branch information
svpernova09 authored Aug 1, 2017
1 parent f7cc6d5 commit 1a87e2d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions scripts/serve-apache.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-elgg.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-laravel.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-silverstripe.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-spa.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-statamic.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down
4 changes: 2 additions & 2 deletions scripts/serve-symfony2.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
declare -A params=$5 # Create an associative array
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$5" ]; then
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
Expand Down

0 comments on commit 1a87e2d

Please sign in to comment.