diff options
author | Malf Furious <m@lfurio.us> | 2017-08-28 23:17:50 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-08-28 23:17:50 -0400 |
commit | bb0fa66ad17a0e1268ce4fd66506821c64173d67 (patch) | |
tree | 6c1bdc4533d2f06b1cfd866e0781a625b9ae49ec /repo-access.sh | |
parent | e8388931a8b6228a9c38897b81b1abe4d31d46ab (diff) | |
download | systrunk-bb0fa66ad17a0e1268ce4fd66506821c64173d67.tar.gz systrunk-bb0fa66ad17a0e1268ce4fd66506821c64173d67.zip |
Fix bug in ref resolver
Fixing problem with control flow -- if one of the trivial cases at the
top are hit, then there is no need to hit the repository.
Diffstat (limited to 'repo-access.sh')
-rw-r--r-- | repo-access.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/repo-access.sh b/repo-access.sh index 9a2f7c8..ad0686b 100644 --- a/repo-access.sh +++ b/repo-access.sh @@ -25,9 +25,7 @@ function systr_repo_resolve_reference systr_repo_resolve_reference "$trac" elif [[ "$symref" == "NULL" ]]; then echo "NULL" - fi - - if [[ "$remote" == "" ]]; then + elif [[ "$remote" == "" ]]; then ( cd "$path" |