Skip to content

Commit

Permalink
redis2-nginx & memc-nginx patch 1.11.6 fix 3 in 123.09beta01
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Nov 16, 2016
1 parent 2947a44 commit 0585899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/nginx_patch.inc
Expand Up @@ -17,13 +17,13 @@ ngxopenresty_patch() {
echo "$DIR_TMP/memc-nginx-module-${ORESTY_MEMCVER}/src"
if [[ "$ORESTY_REDISVERPARSED" -le '13' && -f "$CUR_DIR/patches/redis2-nginx/redis2-nginx-1116.patch" && -z $(grep -ro 1011006 "$DIR_TMP/redis2-nginx-module-${ORESTY_REDISVER}/src") ]]; then
pushd "$DIR_TMP/redis2-nginx-module-${ORESTY_REDISVER}/src"
echo "patch -p1 < $CUR_DIR/patches/redis2-nginx/redis2-nginx-1116.patch"
echo "patch < $CUR_DIR/patches/redis2-nginx/redis2-nginx-1116.patch"
patch < "$CUR_DIR/patches/redis2-nginx/redis2-nginx-1116.patch"
popd
fi
if [[ "$ORESTY_MEMCVERPARSED" -le '17' && -f "$CUR_DIR/patches/memc-nginx/memc-nginx-1116.patch" && -z $(grep -ro 1011006 "$DIR_TMP/memc-nginx-module-${ORESTY_MEMCVER}/src") ]]; then
pushd "$DIR_TMP/memc-nginx-module-${ORESTY_MEMCVER}/src"
echo "patch -p1 < $CUR_DIR/patches/memc-nginx/memc-nginx-1116.patch"
echo "patch < $CUR_DIR/patches/memc-nginx/memc-nginx-1116.patch"
patch < "$CUR_DIR/patches/memc-nginx/memc-nginx-1116.patch"
popd
fi
Expand Down

0 comments on commit 0585899

Please sign in to comment.