From e03cfbcd300f4f9e12029b00062243fba21a84ab Mon Sep 17 00:00:00 2001 From: Tomas Plesnik <plesnik@ics.muni.cz> Date: Fri, 27 Sep 2013 19:31:35 +0200 Subject: [PATCH] bugfix cesty k etc adresari --- packages/build-server.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/build-server.sh b/packages/build-server.sh index a4baf38..37f0c0f 100755 --- a/packages/build-server.sh +++ b/packages/build-server.sh @@ -12,7 +12,8 @@ err() { echo "FAILED!" cat "$err" - rm -f "$err" "$package" "$tar" "$sig" + rm -f "$err" "$tar" "$sig" + rm -rf "$package" echo echo "Build of $package package FAILED!!!" exit 1 @@ -71,7 +72,7 @@ echo "OK" echo -n "Building '${etc}' directory ... " mkdir -p "$etc" 2> "$err" || err -cp "../src/${package_name}/etc/*" "$etc" 2> "$err" || err +cp "../src/${package_name}/etc/"* "$etc" 2> "$err" || err rm -f "${etc}/"*.conf 2> "$err" || err echo "OK" -- GitLab