8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
17 lines
415 B
Bash
17 lines
415 B
Bash
# Setup hook to use in case an egg is fetched
|
|
echo "Sourcing egg setup hook"
|
|
|
|
eggUnpackPhase(){
|
|
echo "Executing eggUnpackPhase"
|
|
runHook preUnpack
|
|
|
|
cp "$src" "$(stripHash "$src")"
|
|
|
|
# runHook postUnpack # Calls find...?
|
|
echo "Finished executing eggUnpackPhase"
|
|
}
|
|
|
|
if [ -z "${dontUseEggUnpack-}" ] && [ -z "${unpackPhase-}" ]; then
|
|
echo "Using eggUnpackPhase"
|
|
unpackPhase=eggUnpackPhase
|
|
fi
|