diff options
author | SVN Migration <svn@php.net> | 2002-02-03 20:42:11 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-02-03 20:42:11 +0000 |
commit | 3f4d2c4b7f8b693011c798b216864b851c78d4f0 (patch) | |
tree | 4ab02ad88854f08c97e416bbe488051c48ad69d0 /scripts/apache/aphtaccess-conv.sh | |
parent | 493563652160eda6c935db127ae9310248f6719d (diff) | |
download | php-git-PRE_ISSET_PATCH.tar.gz |
This commit was manufactured by cvs2svn to create tag 'PRE_ISSET_PATCH'.PRE_ISSET_PATCH
Diffstat (limited to 'scripts/apache/aphtaccess-conv.sh')
-rwxr-xr-x | scripts/apache/aphtaccess-conv.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/apache/aphtaccess-conv.sh b/scripts/apache/aphtaccess-conv.sh deleted file mode 100755 index 1af59d2843..0000000000 --- a/scripts/apache/aphtaccess-conv.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -if [ "$1" = "" ]; then - echo "Usage: $0 /somewhere/.htaccess" - exit 1 -fi - -if [ ! -w $1 ]; then - echo "You cannot write to $1" - exit 1 -fi - -TMPFILE=tmpfile.$$ - -awk -f htaccessfix.awk <$1 >$TMPFILE - -if [ "$?" != 0 ]; then - exit 1 -fi - -mv -f $1 $1.orig -mv -f $TMPFILE $1 -exit 0 - |