Updated build_packaging
authorAnders Henja <anders@henjab.se>
Mon, 28 May 2018 18:07:21 +0000 (20:07 +0200)
committerAnders Henja <anders@henjab.se>
Mon, 28 May 2018 18:07:21 +0000 (20:07 +0200)
packaging/build_package.sh

index 7917a7f..bc9f3f6 100755 (executable)
@@ -65,7 +65,7 @@ prepare_and_build_centos()
   if [ -f "$RPM_TOP_DIR/SOURCES/$2-$3.tar.gz" ]; then
     \rm -f "$RPM_TOP_DIR/SOURCES/$2-$3.tar.gz"
   fi
-  cp -f "packaging/centos/$2.conf" "$RPM_TOP_DIR/SOURCES/$2.conf"
+  cp -f "packaging/centos/*.conf" "$RPM_TOP_DIR/SOURCES/"
   #HOW DO WE DETERMINE BUILDROOT? NOW, just fake it...
   git archive --format="tar.gz" --prefix="$2-$3/" master -o "$RPM_TOP_DIR/SOURCES/$2-$3.tar.gz"
   if [ $? -ne 0 ]; then