[pkg-firebird-general] debian/functions.sh pretty

Damyan Ivanov dam at modsoftsys.com
Sun Mar 4 21:11:16 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -=| Tamas TEVESZ,  4.03.2007 10:48 |=-
> remove some gunk from functions.sh, also correct a header for -1.5.
> [...]
> -if [ -z "${FB_VER:-}" ];
> +if [ -z "${FB_VER}" ];

"gunk"? No, it is there on purpose :)

functions.sh is sourced by other scripts which run under the "set -u"
setting. That is, shell bails out if variable is used before being
defined. The ":-" thing helps handle the situation gracefully.


	dam
- --
Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067              JID dam at jabber.minus273.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF6yfkHqjlqpcl9jsRAtK+AJ9Wn14QFOuRcp2GurCKyZuhAtTPqgCfdXTe
2KoshvygG4QUATe8DGQVCmw=
=iUoW
-----END PGP SIGNATURE-----



More information about the pkg-firebird-general mailing list