sed Permission denied and No such file or directory errors while building CWMR

Search This thread

itzdarockz

Senior Member
Feb 24, 2012
374
197
I've been looking around and i can't fix this. My cm10 source is all updated and before I did this i entered

Code:
sudo apt-get update

so everything is up to date

i've been following this guide: http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device but im stuck on step 3 when I enter

Code:
build/tools/device/mkvendor.sh samsung_aegis2vzw /your/path/to/the/boot.img (yes i changed this to my boot.img path)

i get this as the outcome:

Code:
build/tools/device/mkvendor.sh: line 83: /sedcommand: Permission denied
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory
sed: -e expression #1, char 15: unknown option to `s'
sed: couldn't open file /sedcommand: No such file or directory


Any help is much appreciated.
 
Last edited:

itzdarockz

Senior Member
Feb 24, 2012
374
197
Okay I now believe this is occurring because I don't have the file sedcommand. Is this file in the root of everyone's cm10 source?