Skip to content

Commit

Permalink
Merge pull request #756 from kiike/pr/use_sh_on_postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Jul 10, 2024
2 parents 13bd66d + 805fe82 commit 14d4d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"jshint": "grunt jshint",
"clean": "grunt clean",
"getcollection": "grunt getcollection",
"postinstall": "scripts/postInstall.sh && grunt getcollection && npmpd && cd app && npm install"
"postinstall": "sh scripts/postInstall.sh && grunt getcollection && npmpd && cd app && npm install"
},
"devDependencies": {
"grunt": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/postInstall.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env sh

sed -i 's/options\.srcDir/\/\/options.srcDir/g' node_modules/grunt-nw-builder/tasks/nw.js
sed -i'' -e 's/options\.srcDir/\/\/options.srcDir/g' node_modules/grunt-nw-builder/tasks/nw.js
Expand Down

0 comments on commit 14d4d8d

Please sign in to comment.