Skip to content

Commit

Permalink
fix(complete.sh): fix path error
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Feb 20, 2017
1 parent 5456a20 commit 772c593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion complete.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -e

cd {{ name }}
git remote rename origin skeleton
./merge-json.js package.json PROJECT-package.json > package.json
rm merge-json.js PROJECT-package.json complete.sh
Expand Down
5 changes: 2 additions & 3 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"parse": [
"PROJECT-README",
"PROJECT-LICENSE",
"PROJECT-package.json",
"complete.sh"
"PROJECT-package.json"
],
"discard": [
"README.md",
Expand All @@ -18,6 +17,6 @@
{ "PROJECT-README": "README.md" },
{ "PROJECT-LICENSE": "LICENSE.md" }
],
"complete": "./complete.sh"
"complete": "cd {{ name }} && ./complete.sh"
}

0 comments on commit 772c593

Please sign in to comment.