~fredg/NuTyX

21457727ae2d94088946ee6ff8add323d124bc80 — alienus 8 years ago cc0f744
-ge is better than -gt ;)
1 files changed, 3 insertions(+), 5 deletions(-)

M pkgdir.sh
M pkgdir.sh => pkgdir.sh +3 -5
@@ 8,9 8,7 @@
# LICENSE: MIT
#

# pkgdir version
VERSION=0.1

PKGDIR_VERSION=0.1

#
#


@@ 154,7 152,7 @@ echo "$PORT/$PKGNAME.info created"

parse_options()
{
    if [ $# -gt 1 ]; then
    if [ $# -ge 1 ]; then
        case $1 in
            -d|--default)
                DIR=$2


@@ 201,7 199,7 @@ main()
        pkg_waf
        pkg_info
    elif [ $VERSION ]; then
        die "pkgdir $VERSION"
        die "pkgdir $PKGDIR_VERSION"
    elif [ $HELP ]; then
        print_help
    else