git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1da00
)
Remove all external dependencies from PATH.bashrc.
author
Iain Patterson
<me@iain.cx>
Thu, 1 Nov 2007 08:29:23 +0000
(08:29 +0000)
committer
Iain Patterson
<me@iain.cx>
Thu, 1 Nov 2007 08:29:23 +0000
(08:29 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@81
6be0d1a5
-5cfe-0310-89b6-
964be062b18b
.profile.d/PATH.bashrc
patch
|
blob
|
history
diff --git
a/.profile.d/PATH.bashrc
b/.profile.d/PATH.bashrc
index
4c5d535
..
66cd709
100644
(file)
--- a/
.profile.d/PATH.bashrc
+++ b/
.profile.d/PATH.bashrc
@@
-33,12
+33,12
@@
function makepath() {
'
# Read them.
path=
-
for dir in $(cat "$DIR/$dirs")
; do
+
while read dir
; do
dir=$(eval echo "$dir")
[ -d "$dir" ] || continue
path="$path:$dir"
- done
+ done
< "$DIR/$dirs"
unset dir
# Restore IFS.