aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid van Tonder <david.vantonder@gmail.com>2012-11-24 15:25:38 -0800
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-11-24 15:25:38 -0800
commit626865c7db48c5bd0c1030f6400af09c0132d74c (patch)
tree41bd54f94c5d11a584c15bdc89cac14168bff0ee
parent9f41124f09b4f0df5f040d74d5092b5c1d81f172 (diff)
parentea95876fbfa57f1a71b39b23ac99db8c9b258cb7 (diff)
downloadandroid_packages_apps_CMFileManager-626865c7db48c5bd0c1030f6400af09c0132d74c.tar.gz
android_packages_apps_CMFileManager-626865c7db48c5bd0c1030f6400af09c0132d74c.tar.bz2
android_packages_apps_CMFileManager-626865c7db48c5bd0c1030f6400af09c0132d74c.zip
Merge "CMFileManager: Fix quickfoldersearch command for files with whitespaces" into jellybean
-rw-r--r--res/xml/command_list.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/command_list.xml b/res/xml/command_list.xml
index 26cd51eb..caa288ac 100644
--- a/res/xml/command_list.xml
+++ b/res/xml/command_list.xml
@@ -55,7 +55,7 @@
<command commandId="ls" commandPath="cd" commandArgs="%1$s &amp;&amp; /system/bin/ls -al %1$s | { /system/xbin/grep -v -e '^l' || true; } &amp;&amp; /system/xbin/echo '>SIMLINKS>' &amp;&amp; /system/bin/ls -al %1$s | { /system/xbin/grep -e '^l' || true; } &amp;&amp; /system/xbin/echo '>SIMLINKS_DATA>' &amp;&amp; /system/bin/ls -aF %1$s | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- &amp;&amp; /system/bin/ls -aF %1$s | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- | /system/xbin/awk '{print &quot;\\&quot;&quot;$0&quot;\\&quot;&quot;}' | /system/xbin/xargs -r -n1 /system/xbin/readlink -f &amp;&amp; /system/bin/ls -F %1$s | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- | /system/xbin/awk '{print &quot;\\&quot;&quot;$0&quot;\\&quot;&quot;}' | /system/xbin/xargs -r -n1 /system/xbin/readlink -f | /system/xbin/awk '{print &quot;\\&quot;&quot;$0&quot;\\&quot;&quot;}' | { /system/xbin/xargs -r /system/bin/ls -ald || /system/xbin/echo; }" />
<command commandId="fileinfo" commandPath="/system/bin/ls" commandArgs="-ald %1$s" />
<command commandId="find" commandPath="/system/xbin/find" commandArgs="%1$s \\( -name %2$s -o -name %3$s -o -name %4$s -o -name %5$s -o -name %6$s \\) -exec /system/xbin/echo {} \\; -exec /system/bin/ls -ald {} \\;" />
- <command commandId="quickfoldersearch" commandPath="/system/bin/ls" commandArgs="-aFd %1$s.* %1$s* | /system/xbin/grep -e '^d' -e '^ld' | /system/xbin/awk '{print $2}'" />
+ <command commandId="quickfoldersearch" commandPath="/system/bin/ls" commandArgs="-aFd %1$s.* %1$s* 2&gt; /dev/null | /system/xbin/grep -e '^d' -e '^ld' | /system/xbin/cut -d&quot; &quot; -f2-" />
<command commandId="readlink" commandPath="cd" commandArgs="%2$s &amp;&amp; /system/xbin/readlink -f %1$s | /system/xbin/awk -F// '{print &quot;\\&quot;&quot;$1&quot;\\&quot;&quot;}' | /system/xbin/xargs -n1 /system/xbin/dirname &amp;&amp; /system/xbin/readlink -f %1$s | /system/xbin/awk -F// '{print &quot;\\&quot;&quot;$1&quot;\\&quot;&quot;}' | /system/xbin/xargs -n1 /system/bin/ls -ald" />
<!-- Operational -->