Fix empty MINGW_MOUNT_POINT handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user