[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?