diff options
Diffstat (limited to 'cppreopts/cppreopts.sh')
-rwxr-xr-x | cppreopts/cppreopts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppreopts/cppreopts.sh b/cppreopts/cppreopts.sh index d409db8d..3416e675 100755 --- a/cppreopts/cppreopts.sh +++ b/cppreopts/cppreopts.sh @@ -53,7 +53,7 @@ if [ $# -eq 1 ]; then # NOTE: this implementation will break in any path with spaces to favor # background copy tasks for file in $(find ${mountpoint} -type f -name "*.odex" -o -type f -name "*.vdex" -o -type f -name "*.art"); do - real_name=${file/${mountpoint}/} + real_name=${file/${mountpoint}/\/system} dest_name=$(preopt2cachename ${real_name}) if ! test $? -eq 0 ; then log -p i -t cppreopts "Unable to figure out destination for ${file}" |