diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -13,6 +13,7 @@ sysconfdir=@sysconfdir@ apkcache=@apkcache@ datadir=@datadir@ +program=${0##*/} startdir="$PWD" srcdir=${srcdir:-"$startdir/src"} pkgbasedir=${pkgbasedir:-"$startdir/pkg"} @@ -953,10 +954,10 @@ all() { } usage() { - echo "$(basename $0) $abuild_ver" - echo "usage: ${0##*/} [options] [-i PKG] [-P REPODEST] [-p PKGDEST]" + echo "$program $abuild_ver" + echo "usage: $program [options] [-i PKG] [-P REPODEST] [-p PKGDEST]" echo " [-s SRCDEST] [cmd] ..." - echo " ${0##*/} [-c] -n PKGNAME[-PKGVER]" + echo " $program [-c] -n PKGNAME[-PKGVER]" echo "Options:" echo " -d Disable dependency checking" echo " -f Force specified cmd, even if they are already done" |