]> git.sesse.net Git - vlc/commitdiff
grmbl again
authorChristophe Massiot <massiot@videolan.org>
Sun, 23 Nov 2003 14:49:51 +0000 (14:49 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sun, 23 Nov 2003 14:49:51 +0000 (14:49 +0000)
extras/contrib/change_prefix.sh

index 62f3d1ac10b68684c343c88868b0bcb1afa44d4a..4678d2a88d0cb7ac4f05185703c42cfffdc7b70f 100755 (executable)
@@ -3,7 +3,7 @@
 # change_prefix.sh : allow to transfer a contrib dir
 # ***************************************************************************
 # 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>
 #
@@ -53,7 +53,7 @@ for file in $files; do
                           $file
       fi
     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
     mv -f $file.tmp $file
   fi