mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
maven-build: only copy site dir if it exists
svn path=/nixpkgs/trunk/; revision=23692
This commit is contained in:
parent
b601947bcb
commit
62eb8741ce
@ -89,7 +89,9 @@ stdenv.mkDerivation ( rec {
|
||||
'';
|
||||
|
||||
finalPhase = ''
|
||||
cp -R target/site $out/
|
||||
if [ -d target/site ] ; then
|
||||
cp -R target/site $out/
|
||||
fi
|
||||
'';
|
||||
} // args
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user