pake icon indicating copy to clipboard operation
pake copied to clipboard

pake_chmod does double up directory

Open Woellchen opened this issue 11 years ago • 1 comments

when calling pake_chmod like pake_chmod('', 'cache/', 0777) then it will fail output:

chmod 777 cache/cache/ Warning: chmod(): file or directory not found in /usr/share/php/pake/pakeFunction.php:351

as you see it tries to chmod cache/cache/ instead of cache/ which will result phps chmod call to fail

we have discovered that it must relate to the following commit: d600cb15f548102e561b78ccbb1606865704a8d8 https://github.com/indeyets/pake/commit/d600cb15f548102e561b78ccbb1606865704a8d8

Woellchen avatar Aug 30 '12 14:08 Woellchen