Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: make the build script more robust
Browse files Browse the repository at this point in the history
My git bash in Windows couldn't execute these lines without the changes,
I hope that works for everyone.
  • Loading branch information
Narretz committed Feb 17, 2016
1 parent 2eee5bc commit 2fc82a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ function copySrcToBuild {
rm -rf build/
mkdir build/

cp -r src/ build/
cp -r src/. build/
}

# replaceInFile(file, findText, replaceText)
function replaceInFile {
sed -i .tmp "s/$2/$3/" $1
sed -i.tmp "s/$2/$3/" $1
rm $1.tmp
}

Expand Down

0 comments on commit 2fc82a4

Please sign in to comment.