sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] PERFORCE change 80061 by Jason Flatt for review
- From: Perforce Review Daemon <p4review AT smee.org>
- To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
- Subject: [SM-Commit] PERFORCE change 80061 by Jason Flatt for review
- Date: Thu, 1 Jun 2006 15:25:00 +0100 (BST)
Change 80061 by jason_flatt@jason-jason on 2006/06/01 15:22:45
* start_completion: Fixed to work w/Bash > 3.0.
Affected files ...
... //sgl/grimoires/devel/shell-term-fm/bash-completion/HISTORY#10 edit
... //sgl/grimoires/devel/shell-term-fm/bash-completion/start_completion#3
edit
Differences ...
==== //sgl/grimoires/devel/shell-term-fm/bash-completion/HISTORY#10 (text)
====
@@ -1,3 +1,6 @@
+2006-06-01 Jason Flatt <jflatt AT sourcemage.org>
+ * start_completion: Fixed to work w/Bash > 3.0.
+
2006-03-12 Karsten Behrmann <BearPerson AT sourcemage.org>
* DETAILS: (automated) Add KEYWORDS
==== //sgl/grimoires/devel/shell-term-fm/bash-completion/start_completion#3
(text) ====
@@ -1,10 +1,13 @@
# START bash completion -- do not remove this line
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ "x$bash" != "x" ] && [ "$PS1" ] && [ -f /etc/bash_completion ] && [
$bmajor$bminor -gt 204 ]
- then # interactive shell
+if [ "x$bash" != "x" ] && [ "$PS1" ] && [ -f /etc/bash_completion ]
+ then
+ if [ $bmajor$bminor -gt 204 ] || [ $bmajor -eq 3 ]
+ then # interactive shell
# Source completion code
. /etc/bash_completion
+ fi
fi
unset bash bmajor bminor
# END bash completion -- do not remove this line
- [SM-Commit] PERFORCE change 80061 by Jason Flatt for review, Perforce Review Daemon, 06/01/2006
Archive powered by MHonArc 2.6.24.