From 78c3b7627f43d0693d7b94a8e1af0fcef70720ba Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Mon, 8 Jun 2020 21:20:26 +0900 Subject: [PATCH] dist/debian: cleanup build/debian before building .deb On 52bd496, we stopped to rm -rf debian/ on build_deb.sh, since now we have prebuilt debian/ directory. However, it might cause .deb build error when we modified debian package source, since it never cleanup. To prevent build error, we need to cleanup build/debian on reloc/build_deb.sh, before extracting contents from relocatable package. --- reloc/build_deb.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/reloc/build_deb.sh b/reloc/build_deb.sh index 93c30f4..ff93252 100755 --- a/reloc/build_deb.sh +++ b/reloc/build_deb.sh @@ -25,6 +25,7 @@ done if [[ ! $OPTS =~ --reloc-pkg ]]; then OPTS="$OPTS --reloc-pkg $RELOC_PKG" fi +rm -rf build/debian mkdir -p build/debian/scylla-package tar -C build/debian/scylla-package -xpf $RELOC_PKG cd build/debian/scylla-package