topgit: avoid use of "install -D", which doesn't work on FreeBSD
svn path=/nixpkgs/trunk/; revision=26475
This commit is contained in:
parent
6daacf02e0
commit
fd81655bfb
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ stdenv.mkDerivation {
|
|||
configurePhase = "export prefix=$out";
|
||||
|
||||
postInstall = ''
|
||||
install -D -m 444 README "$out/share/doc/topgit-${version}/README"
|
||||
ensureDir "$out/share/doc/topgit-${version}"
|
||||
cp README "$out/share/doc/topgit-${version}/"
|
||||
ensureDir "$out/etc/bash_completion.d"
|
||||
make prefix="$out" install
|
||||
mv "contrib/tg-completion.bash" "$out/etc/bash_completion.d/"
|
||||
|
|
Loading…
Reference in a new issue