Created
July 23, 2013 20:42
-
-
Save qknight/6065999 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======= what i have ======= | |
phases="$prePhases unpackPhase patchPhase $preConfigurePhases configurePhase $preBuildPhases buildPhase checkPhase $preInstallPhases installPhase fixupPhase installCheckPhase $preDistPhases distPhase $postPhases"; | |
======= what i want ======= | |
export phases="unpackPhase patchPhase configurePhase buildPhase checkPhase installPhase fixupPhase installCheckPhase distPhase" | |
======= what i tried ======= | |
typeset -f genericBuild | grep 'phases=' | sed -e 's/\$[^ ]*//g' | sed -e 's/ //g' | awk '{print $0 " \"" }' | |
phases=" unpackPhase patchPhaseconfigurePhasebuildPhase checkPhaseinstallPhase fixupPhase installCheckPhasedistPhase " | |
======= but what failed ======= | |
export $(typeset -f genericBuild | grep 'phases=' | sed -e 's/\$[^ ]*//g' | sed -e 's/ //g' | awk '{print $0 " \"" }' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment