Skip to content

Commit 026afac

Browse files
committed
use root folder
1 parent f78752f commit 026afac

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,5 @@ hsperfdata_appuser
7878
*.lck
7979
reproduction-models
8080
**/bin/
81-
**/obj
81+
**/obj
82+
zazkia

scripts/cli/playground

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19825,8 +19825,8 @@ playground_tcp_proxy_start_command() {
1982519825
service_response_corrupt_method="randomize"
1982619826
fi
1982719827

19828-
mkdir -p /tmp/zazkia
19829-
cat << EOF > /tmp/zazkia/zazkia-routes.json
19828+
mkdir -p ${root_folder}/zazkia
19829+
cat << EOF > ${root_folder}/zazkia/zazkia-routes.json
1983019830
[
1983119831
{
1983219832
"label": "tcp-proxy",
@@ -19859,7 +19859,7 @@ services:
1985919859
ports:
1986019860
- "9191:9191"
1986119861
volumes:
19862-
- /tmp/zazkia:/data
19862+
- ${root_folder}/zazkia:/data
1986319863
environment:
1986419864
DUMMY: $RANDOM
1986519865
EOF

scripts/cli/src/commands/tcp-proxy/start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ then
2424
service_response_corrupt_method="randomize"
2525
fi
2626

27-
mkdir -p /tmp/zazkia
28-
cat << EOF > /tmp/zazkia/zazkia-routes.json
27+
mkdir -p ${root_folder}/zazkia
28+
cat << EOF > ${root_folder}/zazkia/zazkia-routes.json
2929
[
3030
{
3131
"label": "tcp-proxy",
@@ -58,7 +58,7 @@ services:
5858
ports:
5959
- "9191:9191"
6060
volumes:
61-
- /tmp/zazkia:/data
61+
- ${root_folder}/zazkia:/data
6262
environment:
6363
DUMMY: $RANDOM
6464
EOF

0 commit comments

Comments
 (0)