summaryrefslogtreecommitdiff
path: root/scripts/apache/aphtaccess-conv.sh
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-07-07 23:03:44 +0000
committerSVN Migration <svn@php.net>2002-07-07 23:03:44 +0000
commit6befc001c9c6fdd85d1b3717201d2ba457ca33e0 (patch)
tree31c32d6fb48a15932d3c279ae3c48c077c498764 /scripts/apache/aphtaccess-conv.sh
parentf8875adaab9fe973ab798ead093e21972ed43a13 (diff)
downloadphp-git-INITIAL_IMPORT_SOURCEFORGE.tar.gz
This commit was manufactured by cvs2svn to create tagINITIAL_IMPORT_SOURCEFORGE
'INITIAL_IMPORT_SOURCEFORGE'.
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
-