diff -up ./bin/coin-config.orig ./bin/coin-config --- ./bin/coin-config.orig 2013-08-20 18:02:39.364477980 +0300 +++ ./bin/coin-config 2013-08-20 18:03:16.693972197 +0300 @@ -17,7 +17,13 @@ program="$0" me=`echo "$0" | sed 's,^.*[/\\],,g'` wd=`echo "$0" | sed 's,/[^/]*$,,'` -prefix=`cd "$wd/.."; pwd` + +# /usrmove hack +if test x"$wd" = x"/bin"; then + prefix=`cd "$wd/../usr"; pwd` +else + prefix=`cd "$wd/.."; pwd` +fi hello=`echo hello | fmt -t -w70 2>&1` if test x"$hello" = x"hello"; then