diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2014-05-04 05:07:46 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-10 08:01:41 +0200 |
commit | 0b2ae245f1d18e4b0702b5ca1cec323308daef0c (patch) | |
tree | aca2d72291920fc390b98d62e182ce11075b1bb7 /makechrootpkg.in | |
parent | fdd079f3d542dbce6898512298b4271eb9e7d0d9 (diff) | |
download | devtools32-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>
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r-- | makechrootpkg.in | 3 |
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() { |