Skip to content

Commit 440ebf7

Browse files
committed
fix sed for cgi wasm
1 parent 53c5716 commit 440ebf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/php-cgi-wasm/static.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ${PHP_CGI_DIST_DIR}/config.js:
5353

5454
${PHP_CGI_DIST_DIR}/%.js: source/%.js
5555
npx babel $< --out-dir ${PHP_CGI_DIST_DIR}/
56-
sed -i 's|import.meta|(undefined /*import.meta*/)|' ${PHP_CGI_DIST_DIR}/$(notdir $@)
56+
sed -i '' -e 's|import.meta|(undefined /*import.meta*/)|' ${PHP_CGI_DIST_DIR}/$(notdir $@)
5757

5858
${PHP_CGI_DIST_DIR}/%.mjs: source/%.js
5959
cp $< $@;

0 commit comments

Comments
 (0)