Skip to content

Commit 1dbeecb

Browse files
bugfix path
1 parent e9dfe28 commit 1dbeecb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

replace_release_build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
echo -ne 'building container...'
4+
docker build -t kernai/alfred:v1.3.5 -f Dockerfile . #> /dev/null 2>&1
5+
echo -ne '\t\t [done]\n'
6+
7+
echo -ne 'start refinery like normal (the tag was replaced)'

util/template_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def process_docker_compose_template(refinery_dir: str, is_windows: bool) -> str:
3030
if path.startswith(".."):
3131
print("Path in settings.json must not start with '..'!", flush=True)
3232
sys.exit(1)
33-
if refinery_dir[0] == ".": # relative path
33+
if path[0] == ".": # relative path
3434
path = path[1:]
3535
if path[0] != path_sep:
3636
path = path_sep + path[1:]

0 commit comments

Comments
 (0)