* misc/morituri-uninstalled:
The binary name is rip, so add an option to override. Fixes #46.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-05-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* misc/morituri-uninstalled:
|
||||
The binary name is rip, so add an option to override.
|
||||
Fixes #46.
|
||||
|
||||
2011-05-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/rip/image.py:
|
||||
|
||||
@@ -25,6 +25,9 @@ BASEDIR=`cd $MISCDIR/.. && pwd`
|
||||
# if this script is called "...-head" then version will be "head"
|
||||
PROJECT=`basename $self | sed s/-.*//g`
|
||||
VERSION=`basename $self | sed s/.*-//g`
|
||||
COMMAND=$PROJECT
|
||||
# override if the command line name to be completed is different
|
||||
COMMAND=rip
|
||||
|
||||
options=
|
||||
|
||||
@@ -45,7 +48,7 @@ then
|
||||
then
|
||||
cat $HOME/.bashrc > $tmp
|
||||
fi
|
||||
cat $BASEDIR/etc/bash_completion.d/$PROJECT >> $tmp
|
||||
cat $BASEDIR/etc/bash_completion.d/$COMMAND >> $tmp
|
||||
SHELL_OPTIONS="--init-file $tmp"
|
||||
options="(with bash completion)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user