Skip to content

Instantly share code, notes, and snippets.

@antdking
Created June 27, 2013 21:01
Show Gist options
  • Save antdking/5880368 to your computer and use it in GitHub Desktop.
Save antdking/5880368 to your computer and use it in GitHub Desktop.
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