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