diff options
author | Tyler Davis <tyler@gluecode.net> | 2025-01-23 23:59:11 +0000 |
---|---|---|
committer | Tyler Davis <tyler@gluecode.net> | 2025-01-23 23:59:11 +0000 |
commit | 947535797a6ef819574e48300b4ba26a2897655e (patch) | |
tree | 0119d34a75d08845b6844dd3bdbd1b717903836a | |
parent | f8445173ee0f49e7aece3a21b3146453978e1c2b (diff) | |
download | dotfiles-947535797a6ef819574e48300b4ba26a2897655e.tar.gz dotfiles-947535797a6ef819574e48300b4ba26a2897655e.zip |
sh: remove windows ref
-rwxr-xr-x | .local/bin/gitrect-fix | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/.local/bin/gitrect-fix b/.local/bin/gitrect-fix index cd89fa3..ff4a77f 100755 --- a/.local/bin/gitrect-fix +++ b/.local/bin/gitrect-fix @@ -79,18 +79,7 @@ done # No posix-compliant way of getting separator, so leverage OS-specifics FS_SEPARATOR="/" -if [ "$(uname -s)" = "Darwin" ]; then - true # Noop -elif [ "$(uname -s)" = "Linux" ]; then - true # Noop -else - # Windows uses backslash - FS_SEPARATOR="\\" - echo "USING BACKSLASH FOR PATH SEPARATOR" - if [ $verbose -gt 0 ]; then - echo "cannot detect CPU total" - fi -fi +# Don't care about windows, will figure it out another day while read -r line; do dir=$(echo "$line" | cut -d, -f 1) |