source: branches/comu-ver2/phpinicopy.sh @ 17099

Revision 17099, 191 bytes checked in by ramrun, 14 years ago (diff)

CGI環境用 php.iniとサブフォルダ以下に複製・削除するシェルスクリプト

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3if [ ! $1 ]
4then
5ECCUBE_DIR=`pwd`
6else
7ECCUBE_DIR=$1
8fi
9
10for dir in *
11do
12if [ -d $dir ]
13then
14cp -f $ECCUBE_DIR/php.ini $dir
15cd $dir
16$ECCUBE_DIR/${0##*/} $ECCUBE_DIR
17cd ..
18fi
19done
20
Note: See TracBrowser for help on using the repository browser.