Commit 70419eaf authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

le-publica.sh: Add check for existance of files passed as argument


Signed-off-by: default avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 2e934828
......@@ -41,6 +41,13 @@ if ! egrep -q "(le-testing|le-unstable|le-stable|le-educ|le5-unstable|le5-testin
exit 1
fi
for pkg in $ARQUIVOS; do
if ! test -e "$pkg"; then
echo "ERROR: file doesn't exist: $pkg"
exit 1
fi
done
printf "Enviando arquivos:\n"
scp $ARQUIVOS $REPOSITORIO@windu.c3sl.ufpr.br:incoming
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment