Author: waldi Date: Mon Nov 6 11:37:24 2006 New Revision: 7699 Modified: dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch Log: debian/patches/features/all/vserver/gen-patch - Make version match more stable. - Support to be called from other places.
Modified: dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch ============================================================================== --- dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch (original) +++ dists/trunk/linux-2.6/debian/patches/features/all/vserver/gen-patch Mon Nov 6 11:37:24 2006 @@ -6,9 +6,9 @@ exit 1 } -version=$(filterdiff -p 1 -i Makefile "$patch" | grep "+EXTRAVERSION" | sed -e 's,.* -,,') +version=$(filterdiff -p 1 -i Makefile "$patch" | grep "+EXTRAVERSION" | sed -e 's,.*-vs,vs,') [ "$version" ] || error "can't find version!" -file="$version.patch" +file="$(dirname $0)/$version.patch" filterdiff -p 1 -x Makefile -x init/version.c "$patch" > "$file" _______________________________________________ Kernel-svn-changes mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

