diff options
-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) |