Commit 3fd71df7 authored by Christophe Massiot's avatar Christophe Massiot
Browse files

grmbl again

parent 8a55f6f4
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# change_prefix.sh : allow to transfer a contrib dir # change_prefix.sh : allow to transfer a contrib dir
# *************************************************************************** # ***************************************************************************
# Copyright (C) 2003 VideoLAN # Copyright (C) 2003 VideoLAN
# $Id: change_prefix.sh,v 1.3 2003/11/23 14:00:25 massiot Exp $ # $Id: change_prefix.sh,v 1.4 2003/11/23 14:49:51 massiot Exp $
# #
# Authors: Christophe Massiot <massiot@via.ecp.fr> # Authors: Christophe Massiot <massiot@via.ecp.fr>
# #
...@@ -53,7 +53,7 @@ for file in $files; do ...@@ -53,7 +53,7 @@ for file in $files; do
$file $file
fi fi
done done
elif test ".`file $file | grep text\|shell`" != "." ; then elif test ".`file $file | grep \"text\|shell\"`" != "." ; then
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file mv -f $file.tmp $file
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment