]> git.scottworley.com Git - annex-ec/commitdiff
Uniform indentation
authorScott Worley <scottworley@scottworley.com>
Mon, 16 Mar 2026 22:24:59 +0000 (15:24 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 16 Mar 2026 22:24:59 +0000 (15:24 -0700)
annex-ec

index 904151281c126ed3828bbf27be389e2f1571ee07..26e664ddfc45ada77c6118fa94db67e32537237f 100755 (executable)
--- a/annex-ec
+++ b/annex-ec
@@ -35,8 +35,8 @@ make_name() {
   overhead=$(( ${#EXAMPLE_SUFFIX} + ${#EXAMPLE_ANNEX_INTERNAL_PREFIX} + ${#EXAMPLE_ANNEX_INTERNAL_SUFFIX} + num_separating_dashes ))
   available=$((FILENAME_MAX - overhead))
   len=$((available / N))
-       name=$(find "$@" -printf '%l\n' | sed -r 's/.*SHA256E-s[0-9]+--//;s/\..*//' | cut -c-$len | tr \\n -)
-       name=${name%-}
+  name=$(find "$@" -printf '%l\n' | sed -r 's/.*SHA256E-s[0-9]+--//;s/\..*//' | cut -c-$len | tr \\n -)
+  name=${name%-}
 }
 
 volumes=()