aboutsummaryrefslogtreecommitdiff
path: root/bin/repos
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-27 18:28:43 -0300
committerEuAndreh <eu@euandre.org>2022-10-27 18:28:43 -0300
commitca071914122238cece5e365e6363d75aba264b9a (patch)
tree41c9599cc2c9a1d3a2dc0acd293741db884cd617 /bin/repos
parentetc/sh/root-rc: Add /root/.profile contents (diff)
downloaddotfiles-ca071914122238cece5e365e6363d75aba264b9a.tar.gz
dotfiles-ca071914122238cece5e365e6363d75aba264b9a.tar.xz
bin/repos: Fix guessing of repository type for Fossil
Diffstat (limited to 'bin/repos')
-rwxr-xr-xbin/repos2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repos b/bin/repos
index 27e0879..12fd697 100755
--- a/bin/repos
+++ b/bin/repos
@@ -144,7 +144,7 @@ is_repository() {
elif [ -e "$1"/CVS/ ]; then
printf 'cvs:%s\n' "$1"
return 0
- elif [ -e "$1"/"$(basename "$1")".fossil ]; then
+ elif [ -e "$1"/.fslckout ]; then
printf 'fossil:%s\n' "$1"
return 0
fi