FORUMS
Remove All Ads from XDA

[MODS][SCRIPTS] Zackptg5's Misc Projects

3,540 posts
Thanks Meter: 5,450
 
By Zackptg5, Senior Member on 20th December 2018, 02:59 PM
Post Reply Email Thread
9th June 2019, 06:57 AM |#91  
Recognized Contributor
Thanks Meter: 2,725
 
More
Quote:
Originally Posted by micgeb

I have added this 3 lines but now I get arg errors.

frcode="/system/xbin/frcode"
bigram="/system/xbin/bigram"
code="/system/xbin/code"

find does not support the parameters in the script. We need another version of find.

I haven't tried running this yet but just took a (very) quick look into the script. Saw this code:
Code:
# The directory containing find.
if test -n "$BINDIR" ; then
    : BINDIR already set, do nothing
else
    : ${BINDIR=/system/bin}
fi

# The names of the utilities to run to build the database.
: ${find:=${BINDIR}/find}
: ${frcode:=${LIBEXECDIR}/frcode}
: ${bigram:=${LIBEXECDIR}/bigram}
: ${code:=${LIBEXECDIR}/code}
It looks like GNU Utils installs to xbin for you. So you need to also add
find="/system/xbin/find"

the GNU version of find does support fstype (at least according to it's help). Toybox version doesn't (at least it's not referenced in help).
 
 
11th June 2019, 04:51 PM |#92  
micgeb's Avatar
Senior Member
Thanks Meter: 45
 
More
I must copy find from the gnu folder in /system/xbin. Find was in this folder a symlink to busybox.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190611-174611.jpg
Views:	48
Size:	121.5 KB
ID:	4775126  
11th June 2019, 05:01 PM |#93  
micgeb's Avatar
Senior Member
Thanks Meter: 45
 
More
locate find nothing but updatedb is created.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190611-180014.jpg
Views:	44
Size:	140.1 KB
ID:	4775128   Click image for larger version

Name:	Screenshot_20190611-180001.jpg
Views:	44
Size:	110.0 KB
ID:	4775129  
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes