From: Valentin Samir Date: Tue, 23 Jul 2013 16:12:31 +0000 (+0200) Subject: [bashrc] escaping find_up X-Git-Url: http://gitweb.pimeys.fr/?p=config-20-100.git;a=commitdiff_plain;h=029ce53a3b3d96a1991eb2913a96ae3aa14838f6 [bashrc] escaping find_up --- diff --git a/.bashrc b/.bashrc index 0113648..409278c 100644 --- 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}/..