We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0adf83 commit 6f16d5eCopy full SHA for 6f16d5e
appengine/standard/wordpress/update-wordpress
@@ -23,6 +23,6 @@ cd wordpress || die "Failed to cd into wordpress."
23
# defined UPLOADS to be an absolute path: /tmp.
24
# TODO(ijt): See if we can change WordPress upstream to respect absolute
25
# path values for UPLOADS.
26
-perl -pi -e 's/\<ABSPATH \. UPLOADS\>/UPLOADS/g' $(find . -name \*.php) 2>$log \
+perl -pi -e 's/\bABSPATH\s*\.\s*UPLOADS\b/UPLOADS/g' $(find . -name \*.php) 2>$log \
27
|| die "Failed to strip ABSPATH prefix from UPLOADS in WordPress sources: \
28
$(cat $log)"
0 commit comments