Skip to content

Commit c7cdb07

Browse files
Fix folder where fakeproxy source is located
1 parent b85162a commit c7cdb07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

selenium/bin/components/fakeproxy

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
#!/usr/bin/env bash
12

3+
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4+
5+
if [[ ! -z "${DEBUG}" ]]; then
6+
set -x
7+
fi
28

39
ensure_fakeproxy() {
410
if docker ps | grep fakeproxy &> /dev/null; then
@@ -10,7 +16,7 @@ ensure_fakeproxy() {
1016

1117
init_fakeproxy() {
1218
FAKEPROXY_URL=${FAKEPROXY_URL:-http://fakeproxy:9090}
13-
FAKEPROXY_DIR=${SCRIPT}/../fakeportal
19+
FAKEPROXY_DIR=${SCRIPT}/../../fakeportal
1420
CLIENT_ID="${CLIENT_ID:-rabbit_idp_user}"
1521
CLIENT_SECRET="${CLIENT_SECRET:-rabbit_idp_user}"
1622
RABBITMQ_HOST_FOR_FAKEPROXY=${RABBITMQ_HOST_FOR_FAKEPROXY:-rabbitmq:15672}

0 commit comments

Comments
 (0)