Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit b0deb2a

Browse files
authored
Update run-docs
source instead of exec
1 parent b716bf6 commit b0deb2a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.ci/scripts/run-docs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ "$1" == "readme" ]; then
1717
echo "*******************************************"
1818
cat ./run-readme.sh
1919
echo "*******************************************"
20-
bash -x ./run-readme.sh
20+
. ./run-readme.sh
2121
echo "::endgroup::"
2222

2323
exit 0
@@ -35,7 +35,7 @@ if [ "$1" == "quantization" ]; then
3535
echo "*******************************************"
3636
cat ./run-quantization.sh
3737
echo "*******************************************"
38-
bash -x ./run-quantization.sh
38+
. ./run-quantization.sh
3939
echo "::endgroup::"
4040

4141
exit 0
@@ -53,7 +53,7 @@ if [ "$1" == "gguf" ]; then
5353
echo "*******************************************"
5454
cat ./run-gguf.sh
5555
echo "*******************************************"
56-
bash -x ./run-gguf.sh
56+
. ./run-gguf.sh
5757
echo "::endgroup::"
5858
fi
5959

@@ -70,7 +70,7 @@ if [ "$1" == "advanced" ]; then
7070
echo "*******************************************"
7171
cat ./run-advanced.sh
7272
echo "*******************************************"
73-
bash -x ./run-advanced.sh
73+
. ./run-advanced.sh
7474
echo "::endgroup::"
7575
fi
7676

@@ -86,7 +86,7 @@ if [ "$1" == "evaluation" ]; then
8686
echo "*******************************************"
8787
cat ./run-evaluation.sh
8888
echo "*******************************************"
89-
bash -x ./run-evaluation.sh
89+
. ./run-evaluation.sh
9090
fi
9191

9292
if [ "$1" == "multimodal" ]; then
@@ -105,7 +105,7 @@ if [ "$1" == "multimodal" ]; then
105105
echo "*******************************************"
106106
cat ./run-multimodal.sh
107107
echo "*******************************************"
108-
bash -x ./run-multimodal.sh
108+
. ./run-multimodal.sh
109109
echo "::endgroup::"
110110
fi
111111

@@ -122,7 +122,7 @@ if [ "$1" == "native" ]; then
122122
echo "*******************************************"
123123
cat ./run-native.sh
124124
echo "*******************************************"
125-
bash -x ./run-native.sh
125+
. ./run-native.sh
126126
echo "::endgroup::"
127127
fi
128128

@@ -139,6 +139,6 @@ if [ "$1" == "distributed" ]; then
139139
echo "*******************************************"
140140
cat ./run-distributed.sh
141141
echo "*******************************************"
142-
bash -x ./run-distributed.sh
142+
. ./run-distributed.sh
143143
echo "::endgroup::"
144144
fi

0 commit comments

Comments
 (0)