Use bash rather than sh
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 29 Jan 2015 06:21:17 +0000 (15:21 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 29 Jan 2015 06:21:17 +0000 (15:21 +0900)
ext/session/mod_files.sh

index aac0d48fd0131bd0fe3091129218d8083e9b676b..6e5d0cad6f12a4d7f7d13b0ca06a1ffff593aa4b 100644 (file)
@@ -61,5 +61,5 @@ echo "Creating session path in $directory with a depth of $depth for session.has
 for i in $hash_chars; do
        newpath="$directory/$i"
        mkdir $newpath || exit 1
-       sh $0 $newpath `expr $depth - 1` $hashbits recurse
+       /bin/bash $0 $newpath `expr $depth - 1` $hashbits recurse
 done