From 41ff2364108136690cd6ece965e4df70dbe27557 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 8 May 2024 23:32:36 +0300 Subject: Output log file per distribution build --- test_with_podman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_with_podman.sh b/test_with_podman.sh index c32612c..aaa8c57 100755 --- a/test_with_podman.sh +++ b/test_with_podman.sh @@ -1,10 +1,10 @@ #!/bin/bash podman_dir="podman" now="$(date -u +%s)" -build_log="$now-build_log" for file in $podman_dir/* do distro="$(printf "%s" "$file"|cut -d '.' -f 2)" + build_log="$now-podman-$distro-build_log" printf "Building %s container..." "$distro" podman build -f $file -t arching-kaos-tools-$distro . >> $build_log 2>&1 if [ $? -ne 0 ] -- cgit v1.2.3