diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-05-08 23:32:36 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-05-08 23:32:36 +0300 |
commit | 41ff2364108136690cd6ece965e4df70dbe27557 (patch) | |
tree | bfc3067613af69e4b1130f52d1595e68e88d719a /test_with_podman.sh | |
parent | a5273280e423893f720b0d065e69e1571429e69c (diff) | |
download | arching-kaos-tools-41ff2364108136690cd6ece965e4df70dbe27557.tar.gz arching-kaos-tools-41ff2364108136690cd6ece965e4df70dbe27557.tar.bz2 arching-kaos-tools-41ff2364108136690cd6ece965e4df70dbe27557.zip |
Output log file per distribution build
Diffstat (limited to 'test_with_podman.sh')
-rwxr-xr-x | test_with_podman.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 ] |