This surfaces on Windows, where directories on the PATH commonly have
spaces in their names (particularly `Program Files').
It doesn't look security critical: you have to be on the other side of
the airtight hatch to mess with my initial environment anyway.
l) val=${new#:}:$val;;
r) val=$val$new;;
esac
l) val=${new#:}:$val;;
r) val=$val$new;;
esac
- case $change in t) export $var=$val ;; esac
+ case $change in t) export $var="$val" ;; esac
}
# --- Set the path variable ---
}
# --- Set the path variable ---