diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-03-21 15:02:57 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-03-21 15:02:57 +0000 |
commit | 37a12a09a365e97830b5c68315598ef0039f4f2b (patch) | |
tree | d556d9db9bdf9e29afb8109eeed96443990a661c /phpBB | |
parent | fa36798694a55faa0210c3a5eca7dd41e92a2edc (diff) | |
download | forums-37a12a09a365e97830b5c68315598ef0039f4f2b.tar forums-37a12a09a365e97830b5c68315598ef0039f4f2b.tar.gz forums-37a12a09a365e97830b5c68315598ef0039f4f2b.tar.bz2 forums-37a12a09a365e97830b5c68315598ef0039f4f2b.tar.xz forums-37a12a09a365e97830b5c68315598ef0039f4f2b.zip |
An update from Jonathan
git-svn-id: file:///svn/phpbb/trunk@4871 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rwxr-xr-x | phpBB/develop/fix_files.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/develop/fix_files.sh b/phpBB/develop/fix_files.sh index f38c5ef5bd..782418f504 100755 --- a/phpBB/develop/fix_files.sh +++ b/phpBB/develop/fix_files.sh @@ -7,18 +7,21 @@ # # UPDATE: 7/31/2001: fix so that it doesn't touch things in the images directory # +# UPDATE: 12/15/2003: Fix so that it doesn't touch any "non-text" files +# find . > FILELIST.$$ grep -sv FILELIST FILELIST.$$ > FILELIST2.$$ grep -sv $(basename $0) FILELIST2.$$ > FILELIST.$$ grep -sv "^\.$" FILELIST.$$ > FILELIST2.$$ -grep -sv "images" FILELIST2.$$ > FILELIST +file -f FILELIST2.$$ |grep text | sed -e 's/^\([^\:]*\)\:.*$/\1/' > FILELIST +file -f FILELIST2.$$ |grep -sv text | sed -e 's/^\([^\:]*\)\:.*$/Not Modifying file: \1/' rm FILELIST2.$$ rm FILELIST.$$ for i in $(cat FILELIST); do if [ -f $i ]; then - sed -e s/ + sed -e s/ //g $i > $i.tmp mv $i.tmp $i fi |