diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-25 07:46:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-25 07:49:31 +0000 |
commit | febda24d52c3567947b4eb2e72bfa7617c926696 (patch) | |
tree | f47559b5f515d1280c47ae3afe6117bb1dc74642 /abuild.in | |
parent | 9842fbe437451b1970fe099304337cab73b3fa2e (diff) | |
download | abuild-febda24d52c3567947b4eb2e72bfa7617c926696.tar.gz abuild-febda24d52c3567947b4eb2e72bfa7617c926696.tar.bz2 abuild-febda24d52c3567947b4eb2e72bfa7617c926696.tar.xz abuild-febda24d52c3567947b4eb2e72bfa7617c926696.zip |
abuild: use cat <<EOF instead of tons of echo for help text
no code changes
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 88 |
1 files changed, 45 insertions, 43 deletions
@@ -1886,49 +1886,51 @@ snapshot() { usage() { echo "$program $program_version" - echo "usage: $program [options] [-i PKG] [-P REPODEST] [-p PKGDEST]" - echo " [-s SRCDEST] [cmd] ..." - echo " $program [-c] -n PKGNAME[-PKGVER]" - echo "Options:" - echo " -A Print CARCH and exit" - echo " -c Enable colored output" - echo " -d Disable dependency checking" - echo " -f Force specified cmd, even if they are already done" - echo " -F Force run as root" - echo " -h Show this help" - echo " -i Install PKG after successful build" - echo " -k Keep built packages, even if APKBUILD or sources are newer" - echo " -m Disable colors (monochrome)" - echo " -p Set package destination directory" - echo " -P Set PKGDEST to REPODEST/<repo>/\$CARCH, where repo is the parents dir name" - echo " -q Quiet" - echo " -r Install missing dependencies from system repository (using sudo)" - echo " -R Recursively build and install missing dependencies (using sudo)" - echo " -s Set source package destination directory" - echo " -u Recursively build and upgrade all dependencies (using sudo)" - echo "" - echo "Commands:" - echo " checksum Generate checksum to be included in APKBUILD" - echo " fetch Fetch sources to \$SRCDEST and verify checksums" - echo " sanitycheck Basic sanity check of APKBUILD" - echo " verify Verify checksums" - echo " unpack Unpack sources to \$srcdir" - echo " prepare Apply patches" - echo " build Compile and install package into \$pkgdir" - echo " listpkg List target packages" - echo " package Create package in \$PKGDEST" - echo " rootpkg Run 'package', the split functions and create apks as fakeroot" - echo " clean Remove temp build and install dirs" - echo " cleanoldpkg Remove binary packages except current version" - echo " cleanpkg Remove already built binary and source package" - echo " cleancache Remove downloaded files from \$SRCDEST" - echo " srcpkg Make a source package" - echo " sourcecheck Check if remote source package exists upstream" - echo " up2date Compare target and sources dates" - echo " deps Install packages listed in makedepends and depends" - echo " undeps Uninstall packages listed in makedepends and depends" - echo " snapshot Create a \$giturl or \$svnurl snapshot and upload to \$disturl" - echo "" + cat << EOF +usage: $program [options] [-i PKG] [-P REPODEST] [-p PKGDEST] + [-s SRCDEST] [cmd] ... + $program [-c] -n PKGNAME[-PKGVER] +Options: + -A Print CARCH and exit + -c Enable colored output + -d Disable dependency checking + -f Force specified cmd, even if they are already done + -F Force run as root + -h Show this help + -i Install PKG after successful build + -k Keep built packages, even if APKBUILD or sources are newer + -m Disable colors (monochrome) + -p Set package destination directory + -P Set PKGDEST to REPODEST/<repo>/\$CARCH, where repo is the parents dir name + -q Quiet + -r Install missing dependencies from system repository (using sudo) + -R Recursively build and install missing dependencies (using sudo) + -s Set source package destination directory + -u Recursively build and upgrade all dependencies (using sudo) + +Commands: + checksum Generate checksum to be included in APKBUILD + fetch Fetch sources to \$SRCDEST and verify checksums + sanitycheck Basic sanity check of APKBUILD + verify Verify checksums + unpack Unpack sources to \$srcdir + prepare Apply patches + build Compile and install package into \$pkgdir + listpkg List target packages + package Create package in \$PKGDEST + rootpkg Run 'package', the split functions and create apks as fakeroot + clean Remove temp build and install dirs + cleanoldpkg Remove binary packages except current version + cleanpkg Remove already built binary and source package + cleancache Remove downloaded files from \$SRCDEST + srcpkg Make a source package + sourcecheck Check if remote source package exists upstream + up2date Compare target and sources dates + deps Install packages listed in makedepends and depends + undeps Uninstall packages listed in makedepends and depends + snapshot Create a \$giturl or \$svnurl snapshot and upload to \$disturl + +EOF exit 0 } |