diff --git a/tools/build_osx.sh b/tools/build_osx.sh
index 848af80b0..f365939f7 100644
--- a/tools/build_osx.sh
+++ b/tools/build_osx.sh
@@ -15,7 +15,7 @@ npm update
./node_modules/.bin/electron-rebuild
./node_modules/.bin/electron-packager ./ Pritunl --platform=darwin --arch=x64 --icon=./www/img/pritunl.icns --out=../build/osx/Applications
cd ../
-gsed -i "s|| NSRequiresAquaSystemAppearance\n NO\n|" build/osx/Applications/Pritunl-darwin-x64/Pritunl.app/Contents/Info.plist
+gsed -i "s|| NSRequiresAquaSystemAppearance\n NO\n |" build/osx/Applications/Pritunl-darwin-x64/Pritunl.app/Contents/Info.plist
mv build/osx/Applications/Pritunl-darwin-x64/Pritunl.app build/osx/Applications/
rm -rf build/osx/Applications/Pritunl-darwin-x64
sleep 3