1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:19:46 +00:00
Files
dotdrop/dotdrop.sh
2017-04-11 14:21:49 +02:00

19 lines
359 B
Bash
Executable File

#!/bin/sh
# author: deadc0de6 (https://github.com/deadc0de6)
# Copyright (c) 2017, deadc0de6
args="$@"
cur=`dirname $(readlink -f $0)`
opwd=`pwd`
bin="${cur}/dotdrop/dotdrop.py"
cfg="${cur}/config.yaml"
# pivot
cd ${cur}
# init the submodule
git submodule update --init --recursive
# launch dotdrop
python3 ${bin} --cfg=${cfg} $args
# pivot back
cd ${opwd}