summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2014-05-04 05:07:46 +0200
committerPierre Schmitz <pierre@archlinux.de>2014-05-10 08:01:41 +0200
commit0b2ae245f1d18e4b0702b5ca1cec323308daef0c (patch)
treeaca2d72291920fc390b98d62e182ce11075b1bb7
parentfdd079f3d542dbce6898512298b4271eb9e7d0d9 (diff)
downloaddevtools32-0b2ae245f1d18e4b0702b5ca1cec323308daef0c.tar.xz
Update mtime of chroot when building
Makes the chroot mtime a useful indicator of last usage. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--makechrootpkg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 9db0ddd..47c6ac9 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -157,6 +157,9 @@ create_chroot() {
# Drop the read lock again
exec 8>&-
fi
+
+ # Update mtime
+ touch "$copydir"
}
clean_temporary() {