aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild-updated-packages.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-updated-packages.bash b/build-updated-packages.bash
index 57ebfc0..3ca8739 100755
--- a/build-updated-packages.bash
+++ b/build-updated-packages.bash
@@ -64,7 +64,8 @@ main() {
for package in "${needs_rebuild[@]}"; do
(cd "$package"
- sudo PKGDEST="$REPO_POOL" testing-x86_64-build -r ~/packaging/chroots -- -c /var/cache/pacman/pkg &>> "$HOME"/packaging/logs/"$package".log)
+ sudo PKGDEST="$REPO_POOL" testing-x86_64-build -r ~/packaging/chroots -- -c /var/cache/pacman/pkg &>> "$HOME"/packaging/logs/"$package".log
+ mv "$HOME"/packaging/logs/"$package".log "$HOME"/packaging/logs/"$package".log."$(date +%Y-%m-%dT%H:%M:%ST%z)")
done
fi