Revert "Modify bench_init.sh"

Point back to original repo

This reverts commit d3530125dd73a0a782758fbfedf73690e3f728f5.
This commit is contained in:
Suraj Shetty 2018-12-26 11:32:06 +05:30
parent 488aa86f70
commit 33ba694f3a

View File

@ -1,8 +1,8 @@
#!/bin/bash
cd ~/
curl -I https://github.com/surajshetty3416/frappe/tree/$TRAVIS_BRANCH | head -n 1 | cut -d $' ' -f2 | (
curl -I https://github.com/frappe/frappe/tree/$TRAVIS_BRANCH | head -n 1 | cut -d $' ' -f2 | (
read response;
[ $response == '200' ] && branch=$TRAVIS_BRANCH || branch='develop';
bench init frappe-bench --frappe-path https://github.com/surajshetty3416/frappe.git --frappe-branch $branch --python $(which python)
bench init frappe-bench --frappe-path https://github.com/frappe/frappe.git --frappe-branch $branch --python $(which python)
)