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 = ''
|
finalPhase = ''
|
||||||
cp -R target/site $out/
|
if [ -d target/site ] ; then
|
||||||
|
cp -R target/site $out/
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
} // args
|
} // args
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user