Skip to content

Commit c25c9c4

Browse files
fix run file template creating
1 parent 7876c0b commit c25c9c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ commands:
336336
curl -sSL https://install.python-poetry.org | python3 -
337337
export PATH="/root/.local/bin:$PATH"
338338
poetry install -vvv
339-
RUN_TEMPLATE=$(cat \<<END_RUNFILE
339+
RUN_TEMPLATE=$(cat <<END_RUNFILE
340340
#!/usr/bin/env python
341341
# -*- coding: utf-8 -*-
342342
import re
@@ -345,10 +345,10 @@ commands:
345345
346346
if __name__ == "__main__":
347347
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
348-
sys.exit(main())
348+
sys.exit(main())
349349
END_RUNFILE
350350
)
351-
echo "RUN_TEMPLATE" > run.py
351+
echo "$RUN_TEMPLATE" > run.py
352352
chmod +x run.py
353353
ln -s run.py /usr/local/bin/benchmark-admin
354354
cd ..

0 commit comments

Comments
 (0)