scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit db1e123939153dfdb8a41926806d3c0e41fdc9f5
parent a22d813080e394efb9a041a9e81405c611d6e4d6
Author: sin <sin@2f30.org>
Date:   Wed, 25 Dec 2013 12:01:40 +0000

Fix style

Diffstat:
Msids | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sids b/sids @@ -23,7 +23,7 @@ mkdir -p "$sigstore" case $option in -g) - echo "$sigpath" | awk -F: '{ for (i=1; i<=NF; i++) {print $i}}' | + echo "$sigpath" | awk -F: '{for (i=1; i<=NF; i++) {print $i}}' | while read path; do mtree_path=mtree$(echo "$path" | sed 's/\//_/g') mtree -c -K sha256digest -p "$path" > "$sigstore/$mtree_path" @@ -31,7 +31,7 @@ case $option in chmod 600 $sigstore/* ;; -v) - echo "$sigpath" | awk -F: '{ for (i=1; i<=NF; i++) {print $i}}' | + echo "$sigpath" | awk -F: '{for (i=1; i<=NF; i++) {print $i}}' | while read path; do mtree_path=mtree$(echo "$path" | sed 's/\//_/g') mtree -p "$path" < "$sigstore/$mtree_path"