Rev 26 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#! /bin/sh -e
## config.dpatch
## Ralf Treinen <treinen@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: replace all config.{guess,sub} by the vesion installed in
## DP: /usr/share/misc
dpatch_patch ()
{
find . -name config.guess -o -name config.sub \
| tar cf debian/patched/config.guess+sub.tar -T -
find . -name config.guess \
-exec ln -sf /usr/share/misc/config.guess '{}' \;
find . -name config.sub \
-exec ln -sf /usr/share/misc/config.sub '{}' \;
}
dpatch_unpatch ()
{
tar xf debian/patched/config.guess+sub.tar
}
DPATCH_LIB_NO_DEFAULT=1
. /usr/share/dpatch/dpatch.lib.sh
# arch-tag: 8a610a57-687b-4395-8ff2-79265c0a4eb3