Fix list option to ionclude PROJECT, misplaced LISTONLY
@@ -95,6 +95,8 @@ mkdir -p $AOMP_REPOS
# ---------------------------------------
# LLVM handled for 11 vs 12
+LISTONLY=$1
+
repo_web_location=$GITPROJECT
reponame=$AOMP_PROJECT_REPO_NAME
repogitname=$AOMP_PROJECT_REPO_NAME
@@ -107,7 +109,6 @@ repo_web_location=$GITROCDEV
reponame=$AOMP_REPO_NAME
repogitname=$AOMP_REPO_NAME
COBRANCH=$AOMP_REPO_BRANCH
-LISTONLY=$1
if [ "$LISTONLY" == 'list' ]; then
list_repo
#clone_or_pull
