better path quoting in profile.d cabal-install.sh (Chris King-Parra, #1683879)
This commit is contained in:
parent
5edb090cdf
commit
362f69476a
|
@ -1,8 +1,8 @@
|
|||
CABALBIN=${HOME}/.cabal/bin
|
||||
CABALBIN="${HOME}/.cabal/bin"
|
||||
|
||||
if ! echo "${PATH}" | /bin/grep -q "${CABALBIN}" ; then
|
||||
if [ -d "${CABALBIN}" ]; then
|
||||
PATH=${PATH}:${CABALBIN}
|
||||
PATH="${PATH}:${CABALBIN}"
|
||||
fi
|
||||
fi
|
||||
unset CABALBIN
|
||||
|
|
Loading…
Reference in New Issue