[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: startx broken due to bashisms
From: Donnie Berkholz <spyderous () gentoo ! org>
Date: 2005-11-27 6:20:09
Message-ID: 43895019.40907 () gentoo ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeremy C. Reed wrote:
| I finally got X installed on NetBSD 2.x today. startx failed with:
|
| /usr/X11R6/bin/startx: arith: syntax error: "dummy+1"
| The dummy=$((dummy+1)); appears to be added in revision 1.3.
This work?
Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDiVAZXVaO67S1rtsRAo4xAKDxOCiP6NFdwYSZaFxG7bbeR0BrvQCgw3Em
hAbZ1K2xQXczCmt4eCd4iR4=
=xeRq
-----END PGP SIGNATURE-----
["startx.cpp.diff" (text/plain)]
--- startx.cpp.orig 2005-11-26 22:17:24.000000000 -0800
+++ startx.cpp 2005-11-26 22:18:49.000000000 -0800
@@ -208,7 +208,7 @@
EOF
removelist="$displayname $removelist"
else
- dummy=$((dummy+1));
+ dummy=`expr $dummy + 1`
XAUTH -q -f $xserverauthfile << EOF
add :$dummy . $authcookie
EOF
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic