From: Alan T. DeKok Date: Tue, 17 Nov 2015 19:53:18 +0000 (-0500) Subject: Turns out GNU people are retarded. X-Git-Tag: release_3_0_11~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7575ce8228ea1ab9940e5dd43bd2c9415e59f2a4;p=thirdparty%2Ffreeradius-server.git Turns out GNU people are retarded. If "install-sh" is asked to do an installation, it helpfully creates the destination directory for you. Then, if the install target is a directory, it tries to create the directory. Which was just created. And then it fails with an error. --- diff --git a/install-sh b/install-sh index e9de23842dc..a212b3160b2 100755 --- a/install-sh +++ b/install-sh @@ -192,7 +192,7 @@ fi if [ x"$dir_arg" != x ] then - $doit $instcmd $dst && + ([ -d $dst ] || $doit $instcmd $dst) && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&