diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-25 20:31:28 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-25 20:31:28 +0800 |
commit | 84247fa0d2b2d59431447a55cf63b5bcd8e9498a (patch) | |
tree | d20acd84dfe76672b9fcd3c196a38af3a059f466 | |
parent | 73bdc4f9413760dac5df5efe66832532ccb8041a (diff) |
Fix code about repo clonev0.8
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||