o my god. fuck,what error? fix it

pull/109/head
midoks 3 years ago
parent 69b84cf08b
commit b4c09f0f1f
  1. 2
      plugins/php/versions/81/fileinfo.sh

@ -45,7 +45,7 @@ Install_lib()
cd $sourcePath/php${version}/ext/${LIBNAME}
#fuck,what error? fix it
#o my god. fuck,what error? fix it
FIND_undef=`cat Makefile|grep '#undef strndup'`
if [ "$FIND_undef" == "" ];then
sed -i $BAK "s/char \*strndup/\#undef strndup\nchar \*strndup/g" libmagic/softmagic.c

Loading…
Cancel
Save