From 290971a51545803e9f5625d75c67f7f98bd05583 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 30 Jun 2019 20:24:38 +0200 Subject: [PATCH] phase2: move cleanup.sh to shared script directory Signed-off-by: Jo-Philipp Wich --- phase2/master.cfg | 5 ++++- phase2/cleanup.sh => scripts/cleanup-phase2.sh | 0 2 files changed, 4 insertions(+), 1 deletion(-) rename phase2/cleanup.sh => scripts/cleanup-phase2.sh (100%) diff --git a/phase2/master.cfg b/phase2/master.cfg index cfa7002..2c0f730 100644 --- a/phase2/master.cfg +++ b/phase2/master.cfg @@ -279,7 +279,10 @@ for arch in arches: command = ["nproc"])) # prepare workspace - factory.addStep(FileDownload(mastersrc="cleanup.sh", slavedest="cleanup.sh", mode=0755)) + factory.addStep(FileDownload( + mastersrc = scripts_dir + '/cleanup-phase2.sh', + slavedest = "cleanup.sh", + mode = 0755)) if not persistent: factory.addStep(ShellCommand( diff --git a/phase2/cleanup.sh b/scripts/cleanup-phase2.sh similarity index 100% rename from phase2/cleanup.sh rename to scripts/cleanup-phase2.sh -- 2.30.2