From a5417250d52320f25ffe9c2394a415013dbf03f0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 19 Jun 2009 21:05:48 +0000 Subject: Frank Terbeck: 27049, 27050, 27051, 27052: VCS_INFO improvements --- Functions/VCS_Info/VCS_INFO_bydir_detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/VCS_Info/VCS_INFO_bydir_detect') diff --git a/Functions/VCS_Info/VCS_INFO_bydir_detect b/Functions/VCS_Info/VCS_INFO_bydir_detect index aff59f300..7985b6994 100644 --- a/Functions/VCS_Info/VCS_INFO_bydir_detect +++ b/Functions/VCS_Info/VCS_INFO_bydir_detect @@ -10,7 +10,7 @@ realbasedir="$(VCS_INFO_realpath ${basedir})" while [[ ${realbasedir} != '/' ]]; do if [[ -n ${vcs_comm[detect_need_file]} ]] ; then [[ -d ${basedir}/${dirname} ]] && \ - [[ -f ${basedir}/${dirname}/${vcs_comm[detect_need_file]} ]] && \ + [[ -e ${basedir}/${dirname}/${vcs_comm[detect_need_file]} ]] && \ break else [[ -d ${basedir}/${dirname} ]] && break -- cgit 1.4.1