From: Samir Benmendil Date: Thu, 31 Jan 2013 17:45:05 +0000 (+0100) Subject: fix bundle calls X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/7e2333268a36dc269e27534d34857b95eed2ac62 fix bundle calls --- diff --git a/bin/launch-bundle b/bin/launch-bundle index 1c03dc9..156365f 100755 --- a/bin/launch-bundle +++ b/bin/launch-bundle @@ -1,7 +1,7 @@ #!/bin/bash -for TARGET in $HOME/.cinstall/launchers/${0##*/}* +for TARGET in $HOME/.cinstall/launchers/${0##*/}-[0-9]* do USE_TARGET=$TARGET done -[ -x "$USE_TARGET" ] && $USE_TARGET || echo "Could not find ${0##*/} bundle" +[ -x "$USE_TARGET" ] && $USE_TARGET "${@}" || echo "Could not find ${0##*/} bundle"