aboutsummaryrefslogtreecommitdiff
path: root/test_with_podman.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-05-08 23:32:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-05-08 23:32:36 +0300
commit41ff2364108136690cd6ece965e4df70dbe27557 (patch)
treebfc3067613af69e4b1130f52d1595e68e88d719a /test_with_podman.sh
parenta5273280e423893f720b0d065e69e1571429e69c (diff)
downloadarching-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-xtest_with_podman.sh2
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 ]