projects
/
dotfiles-framework.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b83f2aa
)
Files can not be repositories during run_on_all_repos().
author
W. Trevor King
<wking@drexel.edu>
Wed, 14 Mar 2012 19:51:28 +0000
(15:51 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 14 Mar 2012 19:51:28 +0000
(15:51 -0400)
dotfiles.sh
patch
|
blob
|
history
diff --git
a/dotfiles.sh
b/dotfiles.sh
index eb19aa058038856eae96a385cc7851858e57b054..d838e60a38df79987ac4d1040f866c474073d43b 100755
(executable)
--- a/
dotfiles.sh
+++ b/
dotfiles.sh
@@
-94,6
+94,8
@@
function run_on_all_repos()
for REPO in *; do
if [ "${REPO}" = '*' ]; then
break # no known repositories
+ elif [ -f "${REPO}" ]; then
+ continue # repositories are directories
fi
"${COMMAND}" "${@}" "${REPO}" || return 1
done