1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 10:18:49 +00:00

update for pypi

This commit is contained in:
deadc0de6
2017-12-23 17:52:53 +01:00
parent a6633d5b1f
commit ae102749ed
11 changed files with 115 additions and 23 deletions

View File

@@ -18,7 +18,6 @@ fi
args=("$@")
cur=$(dirname "$(${rl} "${0}")")
opwd=$(pwd)
bin="${cur}/dotdrop/dotdrop.py"
cfg="${cur}/config.yaml"
# pivot
@@ -26,6 +25,6 @@ cd "${cur}" || { echo "Folder \"${cur}\" doesn't exist, aborting." && exit; }
# init the submodule
git submodule update --init --recursive
# launch dotdrop
python3 "${bin}" --cfg="${cfg}" "${args[@]}"
python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
# pivot back
cd "${opwd}" || { echo "Folder \"${opwd}\" doesn't exist, aborting." && exit; }