aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-06-25 20:31:28 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-06-25 20:31:28 +0800
commit84247fa0d2b2d59431447a55cf63b5bcd8e9498a (patch)
treed20acd84dfe76672b9fcd3c196a38af3a059f466
parent73bdc4f9413760dac5df5efe66832532ccb8041a (diff)
Fix code about repo clonev0.8
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index 5c658ce..dcd6e58 100755
--- a/gist
+++ b/gist
@@ -476,7 +476,7 @@ _pull_if_needed() {
476# Update local git repos 476# Update local git repos
477_sync_repos() { 477_sync_repos() {
478 comm -1 <(ls -A "$folder" | sort) \ 478 comm -1 <(ls -A "$folder" | sort) \
479 <(while read -r ${INDEX_FORMAT[@]}; do echo $index $gist_id; done < "$INDEX" | sed -ne "/^$mark/ p" | sort) \ 479 <(while read -r ${INDEX_FORMAT[@]}; do echo $index $gist_id; done < "$INDEX" | sed -ne "/^$mark/ p" | cut -d' ' -f2 | sort) \
480 | { 480 | {
481 result=$(cat) 481 result=$(cat)
482 482