Author: hdu
Date: Mon Apr 29 18:27:42 2013
New Revision: 1477253

URL: http://svn.apache.org/r1477253
Log:
fix file type parsing typo

Found by: Pavel Janik

Modified:
    openoffice/trunk/main/solenv/bin/macosx-create-bundle

Modified: openoffice/trunk/main/solenv/bin/macosx-create-bundle
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/bin/macosx-create-bundle?rev=1477253&r1=1477252&r2=1477253&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/bin/macosx-create-bundle (original)
+++ openoffice/trunk/main/solenv/bin/macosx-create-bundle Mon Apr 29 18:27:42 
2013
@@ -74,12 +74,12 @@ while [ $# != 0 ]; do
        filetype=`file -L "$inputfile"`
 
        # Create bundle based on file type
-       if printf "$filetype" | grep -q 'Mach-O .* executable'; then
+       if printf "$filetype" | grep -q 'Mach-O.* executable'; then
 
                # Do nothing as this step is obsolete
         :
 
-       elif printf "$filetype" | grep -q 'Mach-O .* dynamically linked shared 
library'; then
+       elif printf "$filetype" | grep -q 'Mach-O.* dynamically linked shared 
library'; then
                # Screen out lib\w+static libraries as they are not used 
directly
                if ! printf "$inputfilename" | grep -q -x -E 
'lib\w+static.*\.dylib'; then
                        # Create jnilib link


Reply via email to