diff --git a/ChangeLog b/ChangeLog index d1c3fae..f1fdad1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Thomas Vander Stichele + + * misc/morituri-uninstalled: + The binary name is rip, so add an option to override. + Fixes #46. + 2011-05-21 Thomas Vander Stichele * morituri/rip/image.py: diff --git a/misc/morituri-uninstalled b/misc/morituri-uninstalled index e3a0b77..d5036bc 100755 --- a/misc/morituri-uninstalled +++ b/misc/morituri-uninstalled @@ -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