From ef44451e7a7a60ec2c6382f811f709fa5686c2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 18 Oct 2017 10:55:51 +0200 Subject: Automatically make parent directory in doinst --- utils/inst | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/inst b/utils/inst index 5279365..9987fff 100644 --- a/utils/inst +++ b/utils/inst @@ -102,6 +102,7 @@ checkdiff() { doinst() { echo -e "\e[1;34mrsync -rlpt $1 $2\e[0m" + mkdir -p "$(dirname "$2")" rsync -rlpt $1 $2 # Now edit all .git files in target directory for g in `find "$1" -name '.git' -type f`; do -- cgit v1.2.3