View Single Post
Old 07-13-2014, 12:58 PM   #222
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 978
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
[QUOTE=PaulJS;2872121]I've run mkdir test.

Code:
Last login: Sun Jul 13 16:37:52 on ttys000
Alinkas-MacBook:~ Alinka$ cd /Volumes/HOME\ /Alinka/Documents/Bubenchik/KoboHack/patch_kobo_35/3.5.0_source 
Alinkas-MacBook:3.5.0_source Alinka$ mkdir test
Alinkas-MacBook:3.5.0_source Alinka$ cat test.tgz | tar xvz --directory="`pwd`/test"
x ./
x ./bin/
[...]
x ./usr/local/Kobo/libadobe.so
[...]
x ./usr/local/Kobo/libnickel.so.1.0.0
[...]
So it looks like your KoboRoot.tgz is correct, and your tar can extract it. So WTF (!) is it refusing to in the script?

I'm puzzled. The only other thing I can think of is that given your location perhaps something in your locale is breaking tar. That's probably your LANG environment variable. Try setting LANG=en_GB.UTF-8 before running the script?
chrisridd is offline   Reply With Quote