Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

12 wiersze
517 B

  1. #!/bin/bash
  2. # stolen from http://cgit.drupalcode.org/octopus/commit/?id=db4f837
  3. includedir=`mysql_config --variable=pkgincludedir`
  4. thiscwd=`pwd`
  5. _THIS_DB_VERSION=`mysql -V 2>&1 | tr -d "\n" | cut -d" " -f6 | awk '{ print $1}' | cut -d"-" -f1 | awk '{ print $1}' | sed "s/[\,']//g"`
  6. if [ "$_THIS_DB_VERSION" = "5.5.40" ] && [ ! -e "$includedir-$_THIS_DB_VERSION-fixed.log" ] ; then
  7. cd $includedir
  8. sudo patch -p1 < $thiscwd/ci/my_config.h.patch &> /dev/null
  9. sudo touch $includedir-$_THIS_DB_VERSION-fixed.log
  10. fi