From 72b4cf073aa67af66b8d834ecf4151776d8b40b8 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sun, 19 Apr 2020 11:59:04 +0200 Subject: [PATCH] misc: remove cd06 --- cd06/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cd06/Makefile b/cd06/Makefile index 6a152ec..cf3ffc1 100644 --- a/cd06/Makefile +++ b/cd06/Makefile @@ -1,7 +1,10 @@ include Makefile.config -all: - python3 script.py target - rm -rf target/tmp/ - lftp -e 'mirror -e -R target $(SFTP_DIRECTORY); exit' $(SFTP_URL) +.PHONY: all +VAR_DIR=target + +LOG=$(shell tempfile) + +all: + lftp -e 'set cmd:interactive 0; set sftp:connect-program "ssh -a -x -o HostKeyAlgorithms=+ssh-dss -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"; cd Recette; exit' $(SFTP_URL)