shell "if"
- From: Morten Welinder <terra diku dk>
- To: gnome-hackers gnome org
- Subject: shell "if"
- Date: 29 Jan 2002 15:10:11 -0000
Someone has started using a bash incompatibility a lot in gnome2
sources. This is not good. Here's a line (from atk's configure,
I think -- it's all over).
if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
The *proper* meaning of that is to execute the command "!" with
three arguments, but bash takes in upon itself to define it as
the negation of the $PKG_CONFIG call with two arguments. (This
was probably meant as an extension of the language, but clearly
isn't.)
Can we please stop using non-standard shell stuff?
Thanks,
Morten
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]