diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-06-11 10:45:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-06-11 10:46:29 +0300 |
commit | 568dc479a62ac9cb50d59145aea8145967ced5bc (patch) | |
tree | 6756831b2c7f61c6feba9b98e3a9610c0866a55f | |
parent | writerfilter: convert gperffasttokenhandler to Python (diff) | |
download | core-568dc479a62ac9cb50d59145aea8145967ced5bc.tar.gz core-568dc479a62ac9cb50d59145aea8145967ced5bc.zip |
The Cygwin realpath command fails for dirs on a mounted volume so just warn
Change-Id: Idff480084b22a5db6a0f00f90b7febc8488ba2af
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 65dd75e8eeb4..e965a1cdc1ac 100644 --- a/configure.ac +++ b/configure.ac @@ -48,9 +48,11 @@ PathFormat() fp_count_slash=`echo "$formatted_path" | $GREP -c "[/]"` if test "$fp_count_slash$fp_count_colon" != "00"; then if test "$fp_count_colon" = "0"; then - formatted_path=`realpath "$formatted_path"` + new_formatted_path=`realpath "$formatted_path"` if test $? -ne 0; then - AC_MSG_ERROR([realpath failed for "$1".]) + AC_MSG_WARNING([realpath failed for "$1", not necessarily a problem.]) + else + formatted_path="$new_formatted_path" fi fi formatted_path=`cygpath -m "$formatted_path"` |