diff options
author | Tyler Davis <tydavis@gmail.com> | 2023-08-06 15:58:39 -0700 |
---|---|---|
committer | Tyler Davis <tydavis@gmail.com> | 2023-08-06 15:58:39 -0700 |
commit | 4975071cd648970a7a073d54cb9021f517cfa0ae (patch) | |
tree | 14ee99dfc99a9dbeed74b99ab65c8138a080b1c8 /.local/bin/gitrect-update | |
parent | 51830dc3996c9571609c6299464825966a12f344 (diff) | |
download | dotfiles-4975071cd648970a7a073d54cb9021f517cfa0ae.tar.gz dotfiles-4975071cd648970a7a073d54cb9021f517cfa0ae.zip |
git: sort list
Diffstat (limited to '.local/bin/gitrect-update')
-rwxr-xr-x | .local/bin/gitrect-update | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/gitrect-update b/.local/bin/gitrect-update index 3a79d1a..f0aa78d 100755 --- a/.local/bin/gitrect-update +++ b/.local/bin/gitrect-update @@ -123,6 +123,9 @@ for dirpath in $LIST; do printf "\n" >>$TEMPFILE done +# Sort results +sort -o ${TEMPFILE} ${TEMPFILE} + diffval=$(eval "diff -b ${DEFAULT_STATE} ${TEMPFILE}") if [ $? -eq 0 ]; then if [ $verbose -gt 0 ]; then |