Andreas Tille pushed to branch master at Debian Med / community / helper-scripts
Commits: 28ebaa3f by Andreas Tille at 2019-09-12T14:18:43Z Enable calling script without any arguments - - - - - 1 changed file: - inject-into-salsa-git Changes: ===================================== inject-into-salsa-git ===================================== @@ -28,10 +28,11 @@ can be created. EOHELP } - -if [ "-h"="$1" -o "--help"="$1" ] ; then - help - exit +if [ $# -gt 0 ] ; then + if [ "-h"="$1" -o "--help"="$1" ] ; then + help + exit + fi fi set -u View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/28ebaa3f180e654d8e35f0338ae2ed169ac368a2 -- View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/commit/28ebaa3f180e654d8e35f0338ae2ed169ac368a2 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
