* misc/morituri-uninstalled:

The binary name is rip, so add an option to override.
	  Fixes #46.
This commit is contained in:
Thomas Vander Stichele
2011-05-21 16:19:12 +00:00
parent e2a1ab08c7
commit 738a2edb0b
2 changed files with 10 additions and 1 deletions

View File

@@ -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> 2011-05-21 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/image.py: * morituri/rip/image.py:

View File

@@ -25,6 +25,9 @@ BASEDIR=`cd $MISCDIR/.. && pwd`
# if this script is called "...-head" then version will be "head" # if this script is called "...-head" then version will be "head"
PROJECT=`basename $self | sed s/-.*//g` PROJECT=`basename $self | sed s/-.*//g`
VERSION=`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= options=
@@ -45,7 +48,7 @@ then
then then
cat $HOME/.bashrc > $tmp cat $HOME/.bashrc > $tmp
fi fi
cat $BASEDIR/etc/bash_completion.d/$PROJECT >> $tmp cat $BASEDIR/etc/bash_completion.d/$COMMAND >> $tmp
SHELL_OPTIONS="--init-file $tmp" SHELL_OPTIONS="--init-file $tmp"
options="(with bash completion)" options="(with bash completion)"
fi fi