Skip to content

Commit

Permalink
Turns out GNU people are retarded.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alandekok committed Nov 17, 2015
1 parent 3421cef commit 7575ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 7575ce8

Please sign in to comment.