From 78533e4982770f5ea1e2e5d4dd81df2a449e5731 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 22 Aug 2018 16:59:31 -0300 Subject: [PATCH] no fallar si no se encuentra nada --- bin/jekyll_build_all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/jekyll_build_all b/bin/jekyll_build_all index ceeb084..9b4771b 100755 --- a/bin/jekyll_build_all +++ b/bin/jekyll_build_all @@ -68,8 +68,8 @@ find -L ./_sites -mindepth 3 -maxdepth 3 -name .generate \ rm -f .generate .generating # TODO descubrir el grupo segĂșn la distro? chgrp -R http "${_deploy}" - find "${_deploy}" -type f -print0 | xargs -0 chmod 640 - find "${_deploy}" -type d -print0 | xargs -0 chmod 2750 + find "${_deploy}" -type f -print0 | xargs -r -0 chmod 640 + find "${_deploy}" -type d -print0 | xargs -r -0 chmod 2750 # Volver al principio para continuar con el siguiente sitio popd &>/dev/null