1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

update bootstrap and bash script

This commit is contained in:
deadc0de6
2017-12-23 19:34:01 +01:00
parent b5746700a6
commit 63ab2cb320
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ fold="dotfiles"
conf="config.yaml"
# copy dotdrop entry point
cat dotdrop/dotdrop.sh | sed 's#${cur}/dotdrop/dotdrop.py#${cur}/dotdrop/dotdrop/dotdrop.py#g' > dotdrop.sh
cp dotdrop/dotdrop.sh > dotdrop.sh
chmod +x dotdrop.sh
mkdir -p $fold

View File

@@ -25,6 +25,6 @@ cd "${cur}" || { echo "Folder \"${cur}\" doesn't exist, aborting." && exit; }
# init the submodule
git submodule update --init --recursive
# launch dotdrop
python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
PYTHONPATH=dotdrop python3 -m dotdrop.dotdrop --cfg="${cfg}" "${args[@]}"
# pivot back
cd "${opwd}" || { echo "Folder \"${opwd}\" doesn't exist, aborting." && exit; }