summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-06-11 11:19:19 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-06-11 11:19:19 (GMT)
commit7da16d025b2c972200ffb5b308fe1683e62e564a (patch)
tree0e5a9a65ebe3c7599be05166e0237a1a5e67d58d
parent623cbf825b322674f1bed6550ef8686d10f0af7d (diff)
parent9186284119dc58d0390d61d69be7486b3b517fc9 (diff)
downloadbuild-7da16d025b2c972200ffb5b308fe1683e62e564a.zip
build-7da16d025b2c972200ffb5b308fe1683e62e564a.tar.gz
build-7da16d025b2c972200ffb5b308fe1683e62e564a.tar.bz2
Merge "envsetup: add quotes around PROMPT_COMMAND" into cm-10.1
-rw-r--r--envsetup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 699251d..07c481d 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -252,7 +252,7 @@ function settitle()
export ANDROID_PROMPT_PREFIX
# Inject build data into hardstatus
- export PROMPT_COMMAND=$(echo $PROMPT_COMMAND | sed -e 's/\\033]0;\(.*\)\\007/\\033]0;$ANDROID_PROMPT_PREFIX \1\\007/g')
+ export PROMPT_COMMAND="$(echo $PROMPT_COMMAND | sed -e 's/\\033]0;\(.*\)\\007/\\033]0;$ANDROID_PROMPT_PREFIX \1\\007/g')"
fi
}