diff options
author | Jeremy C. Reed <reed@reedmedia.net> | 2006-02-25 15:20:06 +0000 |
---|---|---|
committer | Jeremy C. Reed <reed@reedmedia.net> | 2006-02-25 15:20:06 +0000 |
commit | bbf54921031f679c0d266a6b2ef4926f872d18f1 (patch) | |
tree | fb873fb5928e4488b146e06c051a1f78f9be1177 /startx.cpp | |
parent | 6690352bdd01603a5e82e177aab4804d5424b8b1 (diff) |
Bug #4449 <https://bugs.freedesktop.org/show_bug.cgi?id=4449> Be moreXORG-7_0_99_901
portable (for different /bin/sh shells) for the arithmetic.
NetBSD's /bin/sh didn't like: dummy=$((dummy+1)) and complained: startx:
arith: syntax error: "dummy+1"
This was fixed by NetBSD and also by Gentoo, see:
https://launchpad.net/distros/ubuntu/+source/xinit/+bug/31241
Diffstat (limited to 'startx.cpp')
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ add $displayname . $mcookie EOF removelist="$displayname $removelist" else - dummy=$((dummy+1)); + dummy=$(($dummy+1)); XAUTH -q -f $xserverauthfile << EOF add :$dummy . $authcookie EOF |