[milter-manager-commit] milter-manager/milter-manager at 23a0e76 [master] package apt: Skip test when specify SKIP_TEST=yes

Back to archive index

Kenji Okimoto null+****@clear*****
Wed Jun 28 11:52:56 JST 2017


Kenji Okimoto	2017-06-28 11:52:56 +0900 (Wed, 28 Jun 2017)

  New Revision: 23a0e76ea91736e296876654bdb4e36736a14133
  https://github.com/milter-manager/milter-manager/commit/23a0e76ea91736e296876654bdb4e36736a14133

  Message:
    package apt: Skip test when specify SKIP_TEST=yes

  Modified files:
    package/apt/build-in-clean-room.sh

  Modified: package/apt/build-in-clean-room.sh (+6 -0)
===================================================================
--- package/apt/build-in-clean-room.sh    2017-06-28 11:38:30 +0900 (e84980f)
+++ package/apt/build-in-clean-room.sh    2017-06-28 11:52:56 +0900 (53aad62)
@@ -99,6 +99,12 @@ build_by_pbuilder()
         ${PACKAGE}_${VERSION}.orig.tar.gz
     )
     run cp -rp ${source_dir}/package/debian $builddir/${PACKAGE}-${VERSION}/
+    if test "$SKIP_TEST" = "yes"; then
+        ( cd $builddir/${PACKAGE}-${VERSION}/ && \
+            sed -i -s -e '/cutter/d' debian/control && \
+            sed -i -s -e '/TZ=Asia/d' debian/rules
+        )
+    fi
 
     ( cd $builddir/${PACKAGE}-${VERSION} && \
         run_sudo pdebuild \
-------------- next part --------------
An HTML attachment was scrubbed...
Descargar 



More information about the milter-manager-commit mailing list
Back to archive index