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:
@@ -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
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user