summaryrefslogtreecommitdiffstats
path: root/acid/cyche-build
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-09-07 00:07:59 -0400
committerMalfurious <m@lfurio.us>2023-09-08 19:07:29 -0400
commit7a7ff89ff16542d30ff7c1f70689236b8fd9c607 (patch)
tree83c576f890215b96504d8ef3b91863f010d28dbd /acid/cyche-build
parent65d21438ef6921353288a13aba7d2075182300d6 (diff)
downloadcychedelic-7a7ff89ff16542d30ff7c1f70689236b8fd9c607.tar.gz
cychedelic-7a7ff89ff16542d30ff7c1f70689236b8fd9c607.zip
acid: build: Cache path to the docker-compose.yml file
When a service entry is removed from $CYCHE_SERVICES, this value is lost, preventing us from properly tearing down the service. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'acid/cyche-build')
-rwxr-xr-xacid/cyche-build1
1 files changed, 1 insertions, 0 deletions
diff --git a/acid/cyche-build b/acid/cyche-build
index 310a087..5920a9e 100755
--- a/acid/cyche-build
+++ b/acid/cyche-build
@@ -43,6 +43,7 @@ docker compose $next --file "$2" up \
--remove-orphans \
--force-recreate
+echo "$2" >.git/previous_file
echo "$3" >.git/previous_hash
if [ "$4" == "--self" ]; then