Skip to content

Commit f8bfa25

Browse files
committed
replication bat fixes
1 parent 9e25946 commit f8bfa25

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

replication/splc23-views/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ for %%A in ("%CD%") do set "currentDir=%%~nxA"
99
rem Check if the current directory ends with the target sub-path
1010
if "%currentDir:~-12%"=="%targetSubPath%" (
1111
cd ..\..
12-
docker build -t diff-detective-views replication\splc23-views\Dockerfile .
12+
docker build -t diff-detective-views -f replication\splc23-views\Dockerfile .
1313
@pause
1414
) else (
1515
echo error: the script must be run from inside the splc23-views directory, i.e., DiffDetective\replication\%targetSubPath%

replication/splc23-views/execute.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rem Get the current directory
77
for %%A in ("%CD%") do set "currentDir=%%~nxA"
88

99
rem Check if the current directory ends with the target sub-path
10-
if "%currentDir:~-9%"=="%targetSubPath%" (
10+
if "%currentDir:~-12%"=="%targetSubPath%" (
1111
docker run --rm -v "%cd%\results":"/home/sherlock/results" diff-detective-views %*
1212
) else (
1313
echo error: the script must be run from inside the splc23-views directory, i.e., DiffDetective\replication\%targetSubPath%
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@echo "Stopping all running simulations. This will take a moment..."
1+
@echo "Stopping all running replications. This will take a moment..."
22
@FOR /f "tokens=*" %%i IN ('docker ps -a -q --filter "ancestor=diff-detective-views"') DO docker stop %%i
33
@echo "...done."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
2-
echo "Stopping Docker container. This will take a moment..."
2+
echo "Stopping all running replications. This will take a moment..."
33
docker stop "$(docker ps -a -q --filter "ancestor=diff-detective-views")"
44
echo "...done."

0 commit comments

Comments
 (0)