X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fkernel_patches%2Fscripts%2Fprep-patch;fp=lustre%2Fkernel_patches%2Fscripts%2Fprep-patch;h=0000000000000000000000000000000000000000;hb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56;hp=1d60ea979d2b5c7c9cdb579c4a780b3ceff34ac4;hpb=272294dfa235dac803ed2d2b2ee8e0bd402622bb;p=fs%2Flustre-release.git diff --git a/lustre/kernel_patches/scripts/prep-patch b/lustre/kernel_patches/scripts/prep-patch deleted file mode 100755 index 1d60ea9..0000000 --- a/lustre/kernel_patches/scripts/prep-patch +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -. patchfns >/dev/null || . /usr/lib/patch-scripts/patchfns >/dev/null || { \ - echo "Impossible to find my library 'patchfns'." - echo "Check your install, or go to the right directory" - exit 1 -} - -if [ $# -ne 1 ] -then - echo "Usage prep-patch patchname" - exit 1 -fi - -PATCHNAME=$(stripit $1) - -xcb -s 2 < $P/patches/$PATCHNAME.patch -head -2 $P/txt/$PATCHNAME.txt | tail -1 | tr -d '\n' | xcb -s 1