diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-04-25 16:24:18 -0700 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2016-04-26 21:21:46 +0000 |
commit | 26dafc0d6110b10b7a0ea95e3f4916fba11b368a (patch) | |
tree | 70f051be200b9c25ac68caa4b44619dd17a648e9 | |
parent | tools-uclibc: configure busybox without CONFIG_SYNC, bug #567598 (diff) | |
download | releng-26dafc0d6110b10b7a0ea95e3f4916fba11b368a.tar.gz releng-26dafc0d6110b10b7a0ea95e3f4916fba11b368a.tar.bz2 releng-26dafc0d6110b10b7a0ea95e3f4916fba11b368a.zip |
cloud-prep: ensure migrate-pax is executable.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | releases/weekly/scripts/cloud-prep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/releases/weekly/scripts/cloud-prep.sh b/releases/weekly/scripts/cloud-prep.sh index 86f36413..20f3c5aa 100644 --- a/releases/weekly/scripts/cloud-prep.sh +++ b/releases/weekly/scripts/cloud-prep.sh @@ -76,7 +76,7 @@ for i in $(find /var/log -type f); do truncate -s 0 $i; done find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \; # fine if this fails, aka non-hardened -if [[ -a /usr/sbin/migrate-pax ]]; then +if [[ -x /usr/sbin/migrate-pax ]]; then echo 'migraging pax' /usr/sbin/migrate-pax -m fi |