Some stupid lunix scripts(eg., auto*hell) use variables named 'path'(lowercase) which means that all scripts in /rc/bin/ape break. To avoid this set path=/bin at the start of each script. Also there is an issue with /rc/bin/ape/printf which doesn't have the executable bit set, make sure to fix this, I'm not sure if patch(1) can deal with file perms.