From 89d2f8ac7a8fe003f898957de34e3a83db4f8f22 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 31 Aug 2015 23:35:57 +0200 Subject: [PATCH] Use subdirectory as a source of official archives instead of absolute path --- .gitignore | 1 + build-deb.sh | 2 +- build-rpm.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4ffae9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +downloads/ diff --git a/build-deb.sh b/build-deb.sh index 96592f8..0282726 100755 --- a/build-deb.sh +++ b/build-deb.sh @@ -15,7 +15,7 @@ VER=$1 echo "Building DEB package" rm -v deb/*.zip || true -cp /usr/distfiles/sonarqube-${VER}.zip deb/ +cp downloads/sonarqube-${VER}.zip deb/ cd deb/ ./build.sh ${VER} cd .. diff --git a/build-rpm.sh b/build-rpm.sh index 4ae5854..9d88bc9 100755 --- a/build-rpm.sh +++ b/build-rpm.sh @@ -14,7 +14,7 @@ VER=$1 echo "Building RPM package" rm -v rpm/SOURCES/*.zip || true -cp -v /usr/distfiles/sonarqube-${VER}.zip rpm/SOURCES/ +cp -v downloads/sonarqube-${VER}.zip rpm/SOURCES/ rpm/build.sh ${VER} echo "Building RPM repository"