blob: 57cd5838e64a35707ef29d1d7fe5844874b56366 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/config/thisroot.sh b/config/thisroot.sh
index 85dee20..532cb28 100644
--- a/config/thisroot.sh
+++ b/config/thisroot.sh
@@ -15,8 +15,8 @@ drop_from_path()
return 1
fi
- p=$1
- drop=$2
+ local p=$1
+ local drop=$2
newpath=`echo $p | sed -e "s;:${drop}:;:;g" \
-e "s;:${drop};;g" \
|