1
0
Fork 0
scripts/jekyll_clone_repo.sh
2015-05-17 23:52:23 +02:00

11 lines
248 B
Bash
Executable file

#!/bin/bash
cloned_dir="$1"
destination_dir="$2"
function finish {
rm -rf "$cloned_dir"
}
trap finish EXIT
/usr/local/bin/jekyll build --source "$cloned_dir" --destination "$destination_dir" 2>&1 |& systemd-cat -t "jekyll-cloner" -p "info"