git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for broken KRB5CCNAME.
[profile.git]
/
.profile.d
/
PATH.bashrc
diff --git
a/.profile.d/PATH.bashrc
b/.profile.d/PATH.bashrc
index
fa7fa01
..
3113f75
100644
(file)
--- a/
.profile.d/PATH.bashrc
+++ b/
.profile.d/PATH.bashrc
@@
-3,7
+3,7
@@
#
# Location of the XXXdirs files.
#
# Location of the XXXdirs files.
-DIR=
$HOME/.profile.d
+DIR=
"$HOME/.profile.d"
# Set one path to be the same as another.
function copypath() {
# Set one path to be the same as another.
function copypath() {
@@
-12,7
+12,7
@@
function copypath() {
# Sanitise and export.
path="$(eval echo \$$oldpath)"
# Sanitise and export.
path="$(eval echo \$$oldpath)"
- [ -z "$path" ] || eval
export $newpath="$path
"
+ [ -z "$path" ] || eval
"export $newpath='$path'
"
unset path newpath oldpath
}
unset path newpath oldpath
}
@@
-48,7
+48,7
@@
function makepath() {
[ -z "$path" ] && return
# Export.
[ -z "$path" ] && return
# Export.
- eval
export $newpath="$path
"
+ eval
"export $newpath='$path'
"
unset path newpath dirs
}
unset path newpath dirs
}