maven-build: only copy site dir if it exists
svn path=/nixpkgs/trunk/; revision=23692
This commit is contained in:
parent
b601947bcb
commit
62eb8741ce
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue