]> gitweb.pimeys.fr Git - config-20-100.git/commitdiff
[bashrc] escaping find_up
authorValentin Samir <valentin.samir@crans.org>
Tue, 23 Jul 2013 16:12:31 +0000 (18:12 +0200)
committerValentin Samir <valentin.samir@crans.org>
Tue, 23 Jul 2013 16:12:31 +0000 (18:12 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index 0113648cd63146e1823af4c84c58ea7f85dc8e58..409278c8378370500c078d1c8eb69966878f908d 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -47,7 +47,7 @@ fi
 #~# find_up () {
 #~#     path="$1"
 #~#     shift 1
-#~#     while [[ "`readlink -f $path`" != "/" ]];
+#~#     while [[ "`readlink -f -- \"$path\"`" != "/" ]];
 #~#     do
 #~#         find "$path"  -maxdepth 1 -mindepth 1 "$@"
 #~#         path=${path}/..