2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Fix new-app

This commit is contained in:
Pratik Vyas 2015-03-06 18:18:11 +05:30
parent 11715758f9
commit 0f74b9b47e

View File

@ -60,7 +60,7 @@ def get_app(app, git_url, branch=None, bench='.', build_asset_files=True):
def new_app(app, bench='.'):
logger.info('creating new app {}'.format(app))
apps = os.path.join(bench, 'apps')
apps = os.path.abspath(os.path.join(bench, 'apps'))
if FRAPPE_VERSION == 4:
exec_cmd("{frappe} --make_app {apps} {app}".format(frappe=get_frappe(bench=bench),
apps=apps, app=app))