summaryrefslogtreecommitdiff
path: root/scripts/apache/aphtaccess-conv.sh
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-05-31 00:23:08 +0000
committerSVN Migration <svn@php.net>2002-05-31 00:23:08 +0000
commit86976a076b5d0941e1368fb14bf382ea594550bf (patch)
tree8b2e3322d23218d88d8cda6b538f74b516070e5c /scripts/apache/aphtaccess-conv.sh
parent6d1a3716dd0726f06ca54976ebeb14526340463f (diff)
downloadphp-git-BEFORE_OBJECTS_STORE.tar.gz
This commit was manufactured by cvs2svn to create tagBEFORE_OBJECTS_STORE
'BEFORE_OBJECTS_STORE'.
Diffstat (limited to 'scripts/apache/aphtaccess-conv.sh')
-rwxr-xr-xscripts/apache/aphtaccess-conv.sh24
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
-