aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2020-07-07 08:49:48 -0400
committerKylie McClain <kylie@somas.is>2020-07-07 09:33:53 -0400
commitd0a085d60bdd6e39faea3c61dad3549c306f64d2 (patch)
tree949c9d822486c8dfadc38794fe214e659cdf1efc
parent03cf550c146f2dae017fde166b4a6db4e5bb5e4d (diff)
downloadpraxis-d0a085d60bdd6e39faea3c61dad3549c306f64d2.tar.gz
praxis-d0a085d60bdd6e39faea3c61dad3549c306f64d2.tar.xz
praxis-d0a085d60bdd6e39faea3c61dad3549c306f64d2.zip
theory.sh: style
-rw-r--r--theory.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/theory.sh.in b/theory.sh.in
index 1755ecb..e745692 100644
--- a/theory.sh.in
+++ b/theory.sh.in
@@ -14,9 +14,9 @@ is_theory_dir() {
is_repo_dir() {
[ -d "${1}" ] || die 2 "'${1}' is not a directory"
- [ -d "${1}"/packages ] && [ -d "${1}"/metadata ] &&
- [ -d "${1}"/libraries ] && [ -d "${1}"/metadata ] &&
- return 0
+ [ -d "${1}"/packages ] && [ -d "${1}"/metadata ] \
+ && [ -d "${1}"/libraries ] && [ -d "${1}"/metadata ] \
+ && return 0
return 1
}