Corrected the unpatch target.

svn path=/branches/kernel-image-2.6.11/; revision=3257
This commit is contained in:
Jurij Smakov 2005-05-28 20:18:48 +00:00
parent 6069972bd0
commit 1f13ccce08
1 changed files with 4 additions and 3 deletions

7
debian/rules vendored
View File

@ -44,9 +44,10 @@ debian/patch-stamp: debian/bin/apply
touch debian/patch-stamp
unpatch:
if [ -e debian/patch-stamp ]; then
override_version=$(release) home=debian/patches debian/bin/apply $(version)
rm -f debian/patch-stamp
if [ -e debian/patch-stamp ]; then \
override_version=$(release) home=debian/patches \
debian/bin/apply $(version); \
rm -f debian/patch-stamp; \
fi
unpack: debian/linux-source-$(version).tar.bz2 unpack-stamp