+ # Source them all in the right order.
+ sourced=
+ for i in $deps; do
+ [ -e "$profile_d/$i" ] || continue
+ [ "${sourced/ $i /}" = "$sourced" ] || continue
+ . "$profile_d/$i"
+ sourced="$sourced $i "
+ done
+
+ # Maybe turn nocaseglob back on.
+ [ $nocg = 0 ] && shopt -s nocaseglob
+
+ # Reset LC_ALL.
+ LC_ALL=$lc_all
+
+ unset i d n dep deps profile_d path required unsorted sourced
+ unset lc_all nocg
+
+ # Don't inherit failure from the last script.
+ true
+fi