com php-src: Use bash rather than sh: ext/session/mod_files .sh
| From: | Yasuo Ohgaki | Date: | Thu, 29 Jan 2015 06:21:17 +0000 |
| Subject: | com php-src: Use bash rather than sh: ext/session/mod_files .sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84443@lists.php.net to get a copy of this message | ||
Commit: d463ddd3c7f9cee2fb8b02cb46f21b68ab4f7922
Author: Yasuo Ohgaki <yohgaki@php.net> Thu, 29 Jan 2015 15:21:17 +0900
Parents: abf9e2ea09e8776f411e7133cd5b838682260e4d
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d463ddd3c7f9cee2fb8b02cb46f21b68ab4f7922
Log:
Use bash rather than sh
Changed paths:
M ext/session/mod_files.sh
Diff:
diff --git a/ext/session/mod_files.sh b/ext/session/mod_files.sh
index aac0d48...6e5d0ca 100644
--- a/ext/session/mod_files.sh
+++ b/ext/session/mod_files.sh
@@ -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