Created
June 27, 2013 21:01
-
-
Save antdking/5880368 to your computer and use it in GitHub Desktop.
This file contains 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
if [[ "$rom" == "carbon" ]]; then | |
if [[ "$log" == "y" ]]; then | |
echo "mka carbon 2>&1 | tee ../build-logs/$device-$rom-build-$(date +%m.%d-%H_%M_%S)" | |
mka carbon 2>&1 | tee ../build-logs/$device-$rom-build-$(date +%m.%d-%H_%M_%S) | |
else | |
echo "mka carbon" | |
mka carbon | |
fi | |
else | |
if [[ "$log" == "y" ]]; then | |
echo "mka bacon 2>&1 | tee ../build-logs/$device-$rom-build-$(date +%m.%d-%H_%M_%S)" | |
mka bacon 2>&1 | tee ../build-logs/$device-$rom-build-$(date +%m.%d-%H_%M_%S) | |
else | |
echo "mka bacon" | |
mka bacon | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment