$OSTYPE is not POSIX conform

Hey,

currently torsocks script using $OSTYPE, that is bash specific. lintian the Debian checked told me about that. The script itself using a she-bang /bin/sh, so it will fail for dash or other shell implementations. Better use either POSIX alternatives or mark the script to be bash specific.

So far I understand the code $OSTYPE is only needed to decide if it is OS X or linux in this situation calling uname should work.

lintian warnings: https://udd.debian.org/lintian/?packages=torsocks&format=html&lt_information=on&lintian_tag=#all

Assignee Loading
Time tracking Loading