|
|
|
@ -18,6 +18,7 @@ Usage:
|
|
|
|
|
aptpkg --all [directory] Build all folders under directory
|
|
|
|
|
aptpkg --auto (commit id) Autobuild modified packages from commit
|
|
|
|
|
aptpkg -h, --help Show help
|
|
|
|
|
aptpkg -v, --version Show version
|
|
|
|
|
EOF
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -170,6 +171,8 @@ case $1 in
|
|
|
|
|
--auto)
|
|
|
|
|
shift
|
|
|
|
|
change_autobuild_pkgs "$1" ;;
|
|
|
|
|
-v|--version)
|
|
|
|
|
echo "aptpkg $APTPKG_VERSION" ;;
|
|
|
|
|
*)
|
|
|
|
|
if [ $# -ne 1 ]; then
|
|
|
|
|
error_usage_die "You must provide one directory"
|
|
|
|
|