No such variable in this script.

This commit is contained in:
Ralph Bean 2017-10-07 09:42:37 +00:00
parent d374ed87a1
commit c5832cf276

View file

@ -18,13 +18,13 @@ cd /srv/web/whatcanidoforfedora.org
err=$(
{
./build.sh &&\
rsync -qa --delete-after --delay-updates build/ "/srv/web/$site/"; \
rsync -qa --delete-after --delay-updates build/ "/srv/web/whatcanidoforfedora.org/"; \
} 2>&1
)
rc=$?
if [ $rc -ne 0 ]; then
echo "$site build failed"
echo "whatcanidoforfedora.org build failed"
echo "===================================="
echo "$err"
echo