Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=81a0c4076ddd9791982d20aa58ad8a01146cd6d7
commit 81a0c4076ddd9791982d20aa58ad8a01146cd6d7 Author: Michel Hermier <[email protected]> Date: Fri Nov 1 17:22:22 2013 +0100 Small fixes, style & comments. diff --git a/doc/libpacman-changes.txt b/doc/libpacman-changes.txt index 0e2ad82..aeef287 100644 --- a/doc/libpacman-changes.txt +++ b/doc/libpacman-changes.txt @@ -29,7 +29,7 @@ pmdepmissing_t: is now public and deprecate PM_DEPMISS. pmgrp_t: is now public and deprecate PM_GRP. pmlist_t: is now public and deprecate PM_LIST. pmpkg_t: is now public and deprecate PM_PKG. -pmsyncpkg_t: is now public and deprecate PM_SYNCPKG +pmsyncpkg_t: is now public and deprecate PM_SYNCPKG. ==== Symbols removed: diff --git a/lib/libpacman/package.c b/lib/libpacman/package.c index 328825b..02e70ab 100644 --- a/lib/libpacman/package.c +++ b/lib/libpacman/package.c @@ -145,7 +145,6 @@ int _pacman_pkg_cmp(const void *p1, const void *p2) /* Parses the package description file for the current package * * Returns: 0 on success, 1 on error - * */ static int parse_descfile(char *descfile, pmpkg_t *info, int output) { diff --git a/scripts/makepkg b/scripts/makepkg index 3b50d3f..9d73793 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -364,16 +364,18 @@ makepkg_chroot() { return 1 fi done - if [ $# -eq 0 ]; then error "Missing expected CHROOTNAME argument." return 1 fi + chroot "$CHROOTDIR/$1" "${@:2}" return $? } _makepkg_commands[chroot]=makepkg_chroot +# TODO: Add chrootadd, chrootdel. + makepkg_lschroot_usage() { $ECHO "Usage: $0 lschroot [OPTION]..." $ECHO "List all the available chroots." @@ -413,7 +415,6 @@ makepkg_lschroot() { return 1 fi done - if [ $# -ne 0 ]; then error "Unexpected trailling arguments: $@" return 1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
