Reasonable installPhase for preparePort
parent
df3e9c32e5
commit
d7e545ac13
|
@ -1000,11 +1000,11 @@ checkPhase() {
|
|||
installPhase() {
|
||||
runHook preInstall
|
||||
|
||||
if [ -n "$prefix" ]; then
|
||||
mkdir -p "$prefix"
|
||||
if [ -n "$source" ]; then
|
||||
mkdir -p "$source"
|
||||
fi
|
||||
|
||||
cp -r ./* "$prefix"
|
||||
cp -r ./* "$source"
|
||||
|
||||
runHook postInstall
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue