No need to check if OS is Cygwin again

This commit is contained in:
Anirudha Bose 2014-06-10 02:41:46 +05:30 committed by sftnight
parent 72b1c09fa7
commit c7163994f2

View File

@ -21,13 +21,8 @@
# set -o xtrace
function check_cygwin {
if [ "${1}" = "Cygwin" ]; then
if [ "${OS}" = "Cygwin" ]; then
printf "%-10s\t\t[OK]\n" "${1}"
else
printf "%-10s\t\t[NOT INSTALLED]\n" "${1}"
fi
if [ "${1}" = "cygwin" ]; then
printf "%-10s\t\t[OK]\n" "${1}"
elif [ "$(command -v ${1})" = "" ]; then
printf "%-10s\t\t[NOT INSTALLED]\n" "${1}"
else