Commit e9299298 authored by Boris Baldassari's avatar Boris Baldassari
Browse files

Fix/Improve run_ort script to fix empty jobs and do pull requests.

parent d4228c58
......@@ -26,9 +26,17 @@ die () {
[ "$#" -eq 3 ] || die "3 arguments required, $# provided."
PROJECT_IN=$1
[ -d $PROJECT_IN ] || die "[$PROJECT_IN] is not a directory."
if [ -d $PROJECT_IN ]; then
echo "[$PROJECT_IN] is not a directory. Quitting."
exit 0
fi
REPO_IN=$2
[ -d $PROJECT_IN/$REPO_IN ] || die "[$REPO_IN] is not a directory."
if [ -d $PROJECT_IN/$REPO_IN ]; then
echo "[$REPO_IN] is not a directory. Quitting."
exit 0
fi
DIR_IN=${PROJECT_IN}/${REPO_IN}
DIR_OUT_BASE=$3
......
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