summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2015-02-02 11:32:03 +0000
committerAdam Harvey <aharvey@php.net>2015-02-02 11:32:03 +0000
commitfea4c222661fd1641cb11fb0faaf439677966252 (patch)
tree2e92b3a5b524b257d51743e4503656305b452109
parent9e20b64a5b97907fe557cc611535c697bab44a75 (diff)
parent05d591dfdf45b09f6e82de6617d23388cb8c3c04 (diff)
downloadphp-git-fea4c222661fd1641cb11fb0faaf439677966252.tar.gz
Merge branch 'PHP-5.6'
-rw-r--r--ext/session/mod_files.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/mod_files.sh b/ext/session/mod_files.sh
index 6e5d0cad6f..75ac6a2fd7 100644
--- a/ext/session/mod_files.sh
+++ b/ext/session/mod_files.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [[ "$2" = "" ]] || [[ "$3" = "" ]]; then
echo "Usage: $0 BASE_DIRECTORY DEPTH HASH_BITS"
@@ -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
- /bin/bash $0 $newpath `expr $depth - 1` $hashbits recurse
+ bash $0 $newpath `expr $depth - 1` $hashbits recurse
done