summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-04-03 09:08:04 +0000
committerWolfram Sang <w.sang@pengutronix.de>2009-04-03 09:08:04 +0000
commitf7d79f1b75cfe74fb579ee328a9b40182ed380f0 (patch)
treec3174e46fbcc65d76c711eba7529ad6eca91fbce /scripts
parentb8ce09d87210b4bf1ea490ed1895ed86d6e1eec2 (diff)
downloadptxdist-f7d79f1b75cfe74fb579ee328a9b40182ed380f0.tar.gz
ptxdist-f7d79f1b75cfe74fb579ee328a9b40182ed380f0.tar.xz
* apply_patch_series: - state explicitly when not using quilt
- create symlink to patches even if not using quilt git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10211 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/apply_patch_series.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/apply_patch_series.sh b/scripts/apply_patch_series.sh
index 0f5d7c1a..97a64fc1 100755
--- a/scripts/apply_patch_series.sh
+++ b/scripts/apply_patch_series.sh
@@ -79,13 +79,19 @@ do_classic() {
;;
esac;
- echo "applying $abspatch"
+ echo "applying $abspatch (without quilt)"
if [ $patchpara ] && [ `echo $patchpara | egrep '\-p[0-9]+'` ] ;then
$CAT "$abspatch" | patch $patchpara || exit 1
else
$CAT "$abspatch" | patch -p1 || exit 1
fi
done
+
+ if test -e patches; then
+ ln -s "${PATCHESPATH}" _ptx_patches
+ else
+ ln -s "${PATCHESPATH}" patches
+ fi
}
#