freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] autogen.sh: Make it work with old Solar


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] autogen.sh: Make it work with old Solaris 10 shell.
Date: Fri, 03 Sep 2021 05:14:14 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • autogen.sh
    ... ... @@ -110,7 +110,10 @@ check_tool_version ()
    110 110
       fi
    
    111 111
     }
    
    112 112
     
    
    113
    -if test ! -f ./builds/unix/configure.raw; then
    
    113
    +# Solaris 10's shell doesn't like the `!` operator to negate the exit status.
    
    114
    +if test -f ./builds/unix/configure.raw; then
    
    115
    +  :
    
    116
    +else
    
    114 117
       echo "You must be in the same directory as \`autogen.sh'."
    
    115 118
       echo "Bootstrapping doesn't work if srcdir != builddir."
    
    116 119
       exit 1
    
    ... ... @@ -182,7 +185,9 @@ copy_submodule_files ()
    182 185
     DLG_INC_DIR=subprojects/dlg/include/dlg
    
    183 186
     DLG_SRC_DIR=subprojects/dlg/src/dlg
    
    184 187
     
    
    185
    -if ! test -d "$DLG_INC_DIR"; then
    
    188
    +if test -d "$DLG_INC_DIR"; then
    
    189
    +  :
    
    190
    +else
    
    186 191
       echo "Checking out submodule in \`subprojects/dlg':"
    
    187 192
       git submodule init
    
    188 193
       git submodule update
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]