From 6b44a934006d39120df7760d7e55b6148a4e818a Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 28 Aug 2007 12:22:23 +0000 Subject: [PATCH] Allow shell expansion of entries in *dirs. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@67 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/PATH.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile.d/PATH.bashrc b/.profile.d/PATH.bashrc index 66d61b3..1a271aa 100644 --- a/.profile.d/PATH.bashrc +++ b/.profile.d/PATH.bashrc @@ -30,6 +30,7 @@ function makepath() { # Read them. path= for dir in $(cat "$DIR/$dirs"); do + dir=$(eval echo "$dir") [ -d "$dir" ] || continue path="$path:$dir" -- 2.20.1