1
0
mirror of synced 2026-01-23 02:28:13 +00:00
Axel Beckert 919f06c8e1 No more use $#array in boolean context
This fixes a regression introduced in
503db1668b595d71b45a94d7391d5c9e6b9e9d1e.

`@array = undef` doesn't empty an array but fills it with one item
which is undef. Hence `$#array` is zero and hence false.

Since the commit above, `@array = ()` was used instead of `@array =
undef`, hence `$#array` no more was false when the array seemed to be
empty (but wasn't). This caused an empty partition table in the
configuration file and hence prohibited the start of the DomU.

This commit fixes the according `!$#array` to just `!@array` and adds
the according changelog entry for both commits. (I initially thought
that such a tiny commit like the one above is not worth being
mentioned. I obviously was wrong.)
2015-10-24 00:34:26 +02:00
..
2015-07-14 21:55:41 +02:00
2013-07-10 22:53:14 +02:00
2013-08-23 19:31:47 +02:00
2006-08-27 21:46:04 +00:00
2007-06-16 13:26:58 +00:00
2006-08-20 09:21:11 +00:00

How to build xen-tools directly from the Git repository?
========================================================

Clone the git repository and change to the directory of your local
working copy.

$ git clone git://github.com/xen-tools/xen-tools.git
$ cd xen-tools

If you just want to build the binary package, run

$ make changelog
$ dpkg-buildpackage -uc -us -b

If you want to build source and binary packages, e.g. for an upload to
Debian or Ubuntu:

$ make orig-tar-gz
$ dpkg-buildpackage

 -- Axel Beckert <abe@debian.org>, Tue, 14 Jul 2015 18:35:38 +0200