commit:     b3244cc22df4616e23881b783473b192ab88c39a
Author:     Matthew Thode <mthode <AT> mthode <DOT> org>
AuthorDate: Tue Jan 26 06:43:53 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 06:43:53 2016 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=b3244cc2

fixing typo in cloud-prep.sh script

 releases/weekly/scripts/cloud-prep.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/releases/weekly/scripts/cloud-prep.sh 
b/releases/weekly/scripts/cloud-prep.sh
index 207e4ae..14bfd1a 100644
--- a/releases/weekly/scripts/cloud-prep.sh
+++ b/releases/weekly/scripts/cloud-prep.sh
@@ -75,7 +75,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 [[ -a /usr/sbin/migrate-pax ]]; then
   echo 'migraging pax'
   /usr/sbin/migrate-pax -m
 fi

Reply via email to