Author: wade Date: 2006-11-01 19:13:14 -0500 (Wed, 01 Nov 2006) New Revision: 67250
Modified: trunk/release/packaging/do-build Log: do-build: -Fix for running lint tests on rpm distros that define their own build_location (currently s390[x]) Otherwise, these tests fail and fail the build Modified: trunk/release/packaging/do-build =================================================================== --- trunk/release/packaging/do-build 2006-11-01 23:24:31 UTC (rev 67249) +++ trunk/release/packaging/do-build 2006-11-02 00:13:14 UTC (rev 67250) @@ -27,13 +27,15 @@ $EXEC_AS_ROOT chown root:root *.zip $EXEC_AS_ROOT chown root:root *.patch -archive_dir="$build_location/builder/built-packages" +# This must be set for the rpm distros useing build_location +# otherwise, lint checks fail +export BB_ARCHIVEDIR="$build_location/builder/built-packages" bb_lint -g prebuild -V $version -R $rev -S '' || exit 1 bb_unpack apply || exit 1 # flexible_tardir is for packages like nant, boo, etc... -bb_do -V $version -R $rev -S '' -a $archive_dir --flexible_tardir || exit 1 +bb_do -V $version -R $rev -S '' -a $BB_ARCHIVEDIR --flexible_tardir || exit 1 bb_lint -V $version -R $rev -S '' || exit 1 -rm -rf $archive_dir/*.src.rpm +rm -rf $BB_ARCHIVEDIR/*.src.rpm _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
