Fix empty MINGW_MOUNT_POINT handling

This commit is contained in:
Iku Iwasa
2015-04-25 13:41:28 +01:00
parent b826fe387c
commit 856cbc1aae

View File

@@ -94,7 +94,7 @@ profile_d ()
[ -e "${file}" ] && . "${file}"
done
if [ -n ${MINGW_MOUNT_POINT} ]; then
if [ -n "${MINGW_MOUNT_POINT}" ]; then
for file in $(export LC_COLLATE=C; echo ${MINGW_MOUNT_POINT}/etc/profile.d/*.$1); do
[ -e "${file}" ] && . "${file}"
done