Le samedi 17 avril 2010 à 17:00 +0200, Stevan Bajić a écrit : > On Sat, 17 Apr 2010 16:53:04 +0200 > Julien Valroff <jul...@kirya.net> wrote: > > > Le samedi 17 avril 2010 à 16:13 +0200, Stevan Bajić a écrit : > > > On Sat, 17 Apr 2010 15:07:46 +0200 > > > Julien Valroff <jul...@kirya.net> wrote: [.t..] > > > > @@ -147,7 +147,7 @@ > > DSPAM_MySQL_VER=$(${MYSQL_BIN_DIR}/mysql_config > > --version | sed -e "s:[^0-9.]*::g" -e "1,/./{//d;}") > > elif [ -e "${MYSQL_BIN_DIR}/mysql" ] > > then > > - DSPAM_MySQL_VER=$(${MYSQL_BIN_DIR}/mysql_config > > --version | sed -e "s:^.*Distrib[\t ]\{1,\}\([0-9.]*\).*:\1:g" -e > > "1,/./{//d;}") > > + DSPAM_MySQL_VER=$(${MYSQL_BIN_DIR}/mysql --version > > | sed -e "s:^.*Distrib[\t ]\{1,\}\([0-9.]*\).*:\1:g" -e "1,/./{//d;}") > > fi > > > > if [ -z "${DSPAM_MySQL_VER}" ] > > > Fixed in GIT. Can you recheck and let me know if it works now on Debian?
Just one more... # mysql --version | sed -e "s:^.*Distrib[\t ]\{1,\}\([0-9.]*\).*:\1:g" 5.0.51 (ie. I have to drop ' -n -e "1,/./{//p;q}"') The complete output on Debian Lenny is: # mysql --version mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2 Cheers, Julien ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel