fix: install_app set branch

This commit is contained in:
Revant Nandgaonkar
2020-03-07 05:33:32 +05:30
parent 4b87e50779
commit d00770e42f
2 changed files with 3 additions and 5 deletions

View File

@@ -10,8 +10,7 @@ cd /home/frappe/frappe-bench/
cd ./apps
[ "${APP_BRANCH}" ] && \
BRANCH="-b ${APP_BRANCH}"
[ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}"
git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH}
pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/${APP_NAME}