Commit 976ebfea authored by Boris Baldassari's avatar Boris Baldassari
Browse files

Fix wrong checks on run_ort execution.

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