diff options
author | smatz <smatz@openttd.org> | 2008-01-24 23:56:43 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-24 23:56:43 +0000 |
commit | e99c34bef4a4ddbdacd807044c321e36cf4cd630 (patch) | |
tree | 796dbe2df7b838da978d959c465305095d498de1 | |
parent | bbdc5a9314f0f0e90517b3a513ba49db06e30260 (diff) | |
download | openttd-e99c34bef4a4ddbdacd807044c321e36cf4cd630.tar.xz |
(svn r11980) -Fix: newer versions of cut do not accept field index 0
-rw-r--r-- | config.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib index e8b33e96f..75f4acbad 100644 --- a/config.lib +++ b/config.lib @@ -635,7 +635,7 @@ check_params() { distcc="$with_distcc" fi if [ "$with_distcc" != "0" ]; then - res="`$distcc --version 2>/dev/null | head -n 1 | cut -b 0-6`" + res="`$distcc --version 2>/dev/null | head -n 1 | cut -b 1-6`" if [ "$res" != "distcc" ]; then distcc="" log 1 "checking distcc... no" @@ -664,7 +664,7 @@ check_params() { ccache="$with_ccache" fi if [ "$with_ccache" != "0" ]; then - res="`$ccache --version 2>/dev/null | head -n 1 | cut -b 0-6`" + res="`$ccache --version 2>/dev/null | head -n 1 | cut -b 1-6`" if [ "$res" != "ccache" ]; then ccache="" log 1 "checking ccache... no" |