File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22ACT_VERSION=" v0.3.0"
3- ACT_LAST_COMMIT=" 1682ba551b5d65892f300b5a737b46e1c0f691af "
3+ ACT_LAST_COMMIT=" 13b1692a909cb01fbf21c38ef46ac9950d92b7be "
44USER_CONFIG=" $HOME /.appdynamics/act/config.sh"
55GLOBAL_CONFIG=" /etc/appdynamics/act/config.sh"
66CONFIG_CONTROLLER_COOKIE_LOCATION=" /tmp/appdynamics-controller-cookie.txt"
@@ -60,7 +60,7 @@ function apiCall {
6060 do
6161 case " ${opt} " in
6262 X)
63- METHOD=${OPTARG}
63+ METHOD=${OPTARG}
6464 ;;
6565 d)
6666 PAYLOAD=${OPTARG}
@@ -103,10 +103,10 @@ function apiCall {
103103 debug " Applying $opt with $ARG "
104104 # PAYLOAD=${PAYLOAD//\$\{${opt}\}/$OPTARG}
105105 # ENDPOINT=${ENDPOINT//\$\{${opt}\}/$OPTARG}
106- while [[ $PAYLOAD =~ \$ {$opt \? ? } ]] ; do
106+ while [[ $PAYLOAD =~ \$\ { $opt \? ? \ } ]] ; do
107107 PAYLOAD=${PAYLOAD// ${BASH_REMATCH[0]} / $OPTARG }
108108 done ;
109- while [[ $ENDPOINT =~ \$ {$opt \? ? } ]] ; do
109+ while [[ $ENDPOINT =~ \$\ { $opt \? ? \ } ]] ; do
110110 ENDPOINT=${ENDPOINT// ${BASH_REMATCH[0]} / $ARG }
111111 done ;
112112 done
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function apiCall {
99 do
1010 case " ${opt} " in
1111 X)
12- METHOD=${OPTARG}
12+ METHOD=${OPTARG}
1313 ;;
1414 d)
1515 PAYLOAD=${OPTARG}
@@ -57,10 +57,10 @@ function apiCall {
5757 debug " Applying $opt with $ARG "
5858 # PAYLOAD=${PAYLOAD//\$\{${opt}\}/$OPTARG}
5959 # ENDPOINT=${ENDPOINT//\$\{${opt}\}/$OPTARG}
60- while [[ $PAYLOAD =~ \$ {$opt \? ? } ]] ; do
60+ while [[ $PAYLOAD =~ \$\ { $opt \? ? \ } ]] ; do
6161 PAYLOAD=${PAYLOAD// ${BASH_REMATCH[0]} / $OPTARG }
6262 done ;
63- while [[ $ENDPOINT =~ \$ {$opt \? ? } ]] ; do
63+ while [[ $ENDPOINT =~ \$\ { $opt \? ? \ } ]] ; do
6464 ENDPOINT=${ENDPOINT// ${BASH_REMATCH[0]} / $ARG }
6565 done ;
6666 done
You can’t perform that action at this time.
0 commit comments