summaryrefslogtreecommitdiff
path: root/actions/Makefile.am
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-07-10 16:03:34 -0400
committerLouie S <louie@example.com>2024-07-10 16:03:34 -0400
commit8c1261cda51472df197c9bebfeec0e395a49d0dc (patch)
tree3003c3b6f5b6fce84512a0ac86bc4aa00b1f3129 /actions/Makefile.am
parent2705958dc6de68a487597e29d4b9b99ccc6724a0 (diff)
Create README for actions
Diffstat (limited to 'actions/Makefile.am')
-rw-r--r--actions/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/Makefile.am b/actions/Makefile.am
index a27b73d..6ce9ec2 100644
--- a/actions/Makefile.am
+++ b/actions/Makefile.am
@@ -20,4 +20,4 @@ actions_build_deb: ../$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
podman exec -w /tmp/build "$(CONTAINER_NAME)" debmake -y -a $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz -i debuild $(DEBUILD_ARGS)
mkdir -p "build/$@/$(IMAGE_NAME)-$(IMAGE_VERSION)"
podman cp "$(CONTAINER_NAME)":/tmp/build/. "build/$@/$(IMAGE_NAME)-$(IMAGE_VERSION)/"
- test "$(SAVE_CONTAINER)" = "no" && (podman kill "$(CONTAINER_NAME)" && podman rm "$(CONTAINER_NAME)")
+ if [ "$(SAVE_CONTAINER)" = "no" ]; then podman kill "$(CONTAINER_NAME)" && podman rm "$(CONTAINER_NAME)"; fi