Skip to content

Commit

Permalink
fix: use proper sed command on UNIX (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinckr committed Nov 25, 2020
1 parent 2a03d32 commit 1dfc7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/sync.sh
Expand Up @@ -33,9 +33,9 @@ function sync {

# Replace placeholders
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i -e "s|{{Project}}|$humanName|g" `find "$workdir/.github" -type f -print` "$workdir/CONTRIBUTING.md" "$workdir/SECURITY.md"
else
sed -e "s|{{Project}}|$humanName|g" `find "$workdir/.github" -type f -print` "$workdir/CONTRIBUTING.md" "$workdir/SECURITY.md"
else
sed -i -e "s|{{Project}}|$humanName|g" `find "$workdir/.github" -type f -print` "$workdir/CONTRIBUTING.md" "$workdir/SECURITY.md"
fi

# Copy contributing guide to docs if docs exist
Expand Down

0 comments on commit 1dfc7d2

Please sign in to comment.