From 3ec2e9ff9a56b4c0cc6aa52daeb55deca4b0a99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claes=20N=C3=A4st=C3=A9n?= Date: Fri, 30 Apr 2021 18:18:49 +0200 Subject: [PATCH] make autogen.sh a bit more portable cp -v does not work on Solaris 10, nor does $() with /bin/sh so instead go for non verbose as -e will echo the commands performed anyway and use backticks. --- autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index 0e0417395..2426ae8bb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,15 +2,15 @@ set -e -oldpwd=$(pwd) -topdir=$(dirname $0) +oldpwd=`pwd` +topdir=`dirname $0` cd $topdir # Some boiler plate to get git setup as expected if test -d .git; then if test -f .git/hooks/pre-commit.sample && \ test ! -f .git/hooks/pre-commit; then - cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit + cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit fi fi