From d0368aca09e21b00c3a04157bddebdf3bf3bd9d2 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Sat, 07 Sep 2013 16:24:24 -0400
Subject: ob-applypatches: Only run if sources were found.

The following can happen, for example, when using a "source" target to download
upstream sources:

    $ opkbuild -bCT source
    [...]
    ob-unpacksource: No native or upstream sources found
    ob-applypatches: Applying patch "01_fix-ob-applypatches-to-work-with-busybox.patch"...
    /usr/local/bin/ob-applypatches: 53: cd: can't cd to src
    patch: **** Can't open patch file ../../patches/01_fix-ob-applypatches-to-work-with-busybox.patch : No such file or directory
    ob-applypatches: Error: Can't apply patch "01_fix-ob-applypatches-to-work-with-busybox.patch"
    [...]
---
(limited to 'man')

--
cgit v0.9.1