megastep/makeself — pull request #17 by atoomic (2012-11-29 16:26:17+00:00)
Title: Fix infinite loop when invoked incorrectly

Description:
This commit fixes a case where certain shells (most noticeably bash)
do not shift anything at all if shift 2 is used and there are not
two arguments.
This caused an infinite loop when the installer was invoked
incorrectly if run under such a shell.

Now a usage message is displayed instead.

Author: Brian Carlson
Bug-Cpanel: http://fogbugz.cpanel.net/default.asp?61069