Skip to content
  1. Jan 18, 2012
    • Florian Pritz's avatar
      find-libdeps: fix syntax error · 4d4ffb5d
      Florian Pritz authored
      The problem has been introduced in commit
      56d4dec1
      
      
      
      Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
      Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
      4d4ffb5d
    • Dave Reisner's avatar
      commitpkg: behavior more sanely in searching for built pkgs · 2d79191c
      Dave Reisner authored
      
      
      In the case of a .pkg.tar.xz and a .pkg.tar.gz existing in the same
      directory, all commitpkg would say is:
      
        ==> WARNING: Could not find . Skipping x86_64
      
      Upon digging into the logic, we did a few things poorly, mostly in
      getpkgfile:
      
      - getpkgfile tried to die in a subshell (within the command substituion
        assignment to 'pkgfile'). This will never work.
      - We assumed that proper glob expansion happened when we received
        exactly 1 arg. This isn't necessarily true without nullglob in effect.
      - We dumped the real error (spewed by getpkgfile) to /dev/null.
      - We checked for the package twice in both $PWD and $DESTDIR/.
      - We checked for file existance multiple times.
      
      Address this by:
      
      - not hiding errors. revamp the wording a little bit to make it more
        obvious why we failed, particularly in the case of a glob expanding to
        more than 1 file. Logic here is simplified to pointing out the failure
        cases of 0 and >1.
      - setting nullglob so the number of arguments passed into getpkgfile is
        meaningful from a 'did it decisively resolve' point of view.
      - not trying to exit the entire script from a subshell. Just return a
        value (and use it).
      - avoiding the package file existance check afterwards. this is a
        freebie from getpkgfile when the glob passed fails to expand.
      
      Signed-off-by: default avatarDave Reisner <dreisner@archlinux.org>
      Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
      2d79191c
  2. Jan 14, 2012
  3. Dec 20, 2011
  4. Dec 04, 2011
  5. Nov 21, 2011
  6. Nov 11, 2011
  7. Nov 09, 2011
  8. Nov 06, 2011
  9. Nov 04, 2011
  10. Nov 01, 2011
  11. Oct 31, 2011
  12. Oct 29, 2011
  13. Oct 14, 2011