Fixed the directory name check for unsupported characters.

git-svn-id: http://voip.null.ro/svn/yate@5741 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2014-01-23 13:45:26 +00:00
parent 2922651340
commit 937087f872
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ AC_INIT(Yate, 5.0.1)
AC_CONFIG_SRCDIR([README])
AC_PREREQ(2.52)
if echo "$srcdir" | grep -q '[[[:space:]\$\"'\'']]'; then
AC_ERROR([Unsupported character(s) in source directory name])
if echo "$ac_confdir/$ac_pwd" | grep -q '[[[:space:]\\\$\"'\'']]'; then
AC_ERROR([Unsupported character(s) in source or current directory name])
fi
PACKAGE_RELEASE="1"