Skip to content

Commit 19ab9fb

Browse files
committed
no space after -i
1 parent 6a83a56 commit 19ab9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ fi
6363
rsync -av "$SRC_DIR/" "$BUILD_DIR" --exclude-from "$SRC_DIR/.circleci/deploy-exclude.txt"
6464

6565
# Swap commit placeholders
66-
SCRIPT_HASH=$(md5sum -z build/analytics.js | awk '{ print $1 }')
67-
find . -name '*.php' | xargs sed -i .bak 's/__SCRIPT_HASH__/'"$SCRIPT_HASH"'/g'
66+
SCRIPT_HASH=$(md5sum build/analytics.js | awk '{ print $1 }')
67+
find . -name '*.php' | xargs sed -i.bak 's/__SCRIPT_HASH__/'"$SCRIPT_HASH"'/g'
6868
find . -name '*.bak' -delete
6969

7070
# Add changed files

0 commit comments

Comments
 (0)