[evolvis-commits] r17601: update build script to latest version

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Oct 20 18:39:55 CEST 2011


Author: mirabilos
Date: 2011-10-20 18:39:55 +0200 (Thu, 20 Oct 2011)
New Revision: 17601

Modified:
   branches/ev48fixes/BuildDSC.sh
Log:
update build script to latest version


Modified: branches/ev48fixes/BuildDSC.sh
===================================================================
--- branches/ev48fixes/BuildDSC.sh	2011-10-20 16:35:02 UTC (rev 17600)
+++ branches/ev48fixes/BuildDSC.sh	2011-10-20 16:39:55 UTC (rev 17601)
@@ -1,7 +1,7 @@
 #!/bin/mksh
-# $MirOS: contrib/hosted/tg/deb/BuildDSC.sh,v 1.10 2010/08/17 07:47:49 tg Exp $
+# $MirOS: contrib/hosted/tg/deb/BuildDSC.sh,v 1.12 2011/10/20 16:38:08 tg Exp $
 #-
-# Copyright (c) 2010
+# Copyright (c) 2010, 2011
 #	Thorsten Glaser <t.glaser at tarent.de>
 #
 # Provided that these terms and disclaimer and all copyright notices
@@ -28,8 +28,10 @@
 # -S: build a snapshot with snapshot.YYYYMMDD.HHMMSS (UTC) as suffix
 # Any further arguments will be passed to debian/rules via MAKEFLAGS
 
+# sanitise environment
 unset LANGUAGE
 export LC_ALL=C
+cd "$(realpath .)"
 
 # preload
 sync
@@ -122,7 +124,7 @@
 newname=$pkgstem-$upstreamversion
 [[ $newname = $curname ]] || mv "$curname" "$newname"
 cd "$newname"
-dpkg-buildpackage -rfakeroot -S -I
+dpkg-buildpackage -rfakeroot -S -I -i
 rv=$?
 fakeroot debian/rules clean
 cd ..



More information about the evolvis-commits mailing list