diff options
Diffstat (limited to 'needs-checking')
-rwxr-xr-x | needs-checking/combine-applied | 8 | ||||
-rwxr-xr-x | needs-checking/combine-series | 8 | ||||
-rwxr-xr-x | needs-checking/cvs-take-patch | 8 | ||||
-rwxr-xr-x | needs-checking/export_patch | 8 | ||||
-rwxr-xr-x | needs-checking/extract_description | 8 | ||||
-rwxr-xr-x | needs-checking/join-patch | 17 | ||||
-rwxr-xr-x | needs-checking/linus-patch | 9 | ||||
-rwxr-xr-x | needs-checking/new-kernel | 10 | ||||
-rwxr-xr-x | needs-checking/p_diff | 8 | ||||
-rwxr-xr-x | needs-checking/patchdesc | 8 | ||||
-rwxr-xr-x | needs-checking/pstatus | 8 | ||||
-rwxr-xr-x | needs-checking/ptkdiff | 8 | ||||
-rwxr-xr-x | needs-checking/removed-by-patch | 10 | ||||
-rwxr-xr-x | needs-checking/rename-patch | 22 | ||||
-rwxr-xr-x | needs-checking/rolled-up-patch | 8 | ||||
-rwxr-xr-x | needs-checking/tag-series | 8 |
16 files changed, 137 insertions, 19 deletions
diff --git a/needs-checking/combine-applied b/needs-checking/combine-applied index 487b553..dc00fc2 100755 --- a/needs-checking/combine-applied +++ b/needs-checking/combine-applied @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # # Make superpatch from currently applied patches using combinediff. diff --git a/needs-checking/combine-series b/needs-checking/combine-series index 914acec..f94a706 100755 --- a/needs-checking/combine-series +++ b/needs-checking/combine-series @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # # Make superpatch from current series using combinediff. diff --git a/needs-checking/cvs-take-patch b/needs-checking/cvs-take-patch index c6a6a2a..4703e84 100755 --- a/needs-checking/cvs-take-patch +++ b/needs-checking/cvs-take-patch @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. doit() { diff --git a/needs-checking/export_patch b/needs-checking/export_patch index 8e7116a..77c6185 100755 --- a/needs-checking/export_patch +++ b/needs-checking/export_patch @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. . patchfns 2>/dev/null || . /usr/lib/patch-scripts/patchfns 2>/dev/null || diff --git a/needs-checking/extract_description b/needs-checking/extract_description index 6fa0e68..873bb8d 100755 --- a/needs-checking/extract_description +++ b/needs-checking/extract_description @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. insert_line() { diff --git a/needs-checking/join-patch b/needs-checking/join-patch index 493d434..5f89a99 100755 --- a/needs-checking/join-patch +++ b/needs-checking/join-patch @@ -1,4 +1,19 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. + +. patchfns 2>/dev/null || +. /usr/lib/patch-scripts/patchfns 2>/dev/null || +. $PATCHSCRIPTS_LIBDIR/patchfns 2>/dev/null || +{ + echo "Impossible to find my library 'patchfns'." + echo "Check your install, or go to the right directory" + exit 1 +} usage() { diff --git a/needs-checking/linus-patch b/needs-checking/linus-patch index 24312b7..023aa9f 100755 --- a/needs-checking/linus-patch +++ b/needs-checking/linus-patch @@ -1,4 +1,11 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. + # # Grab a patch frmo kernel.org, install it. # diff --git a/needs-checking/new-kernel b/needs-checking/new-kernel index 2b065a6..a81be96 100755 --- a/needs-checking/new-kernel +++ b/needs-checking/new-kernel @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. usage() { @@ -78,5 +84,5 @@ cvs commit -m "'doing $NEXT_KERNEL'" cvs update -ko -d -P TAG=$(echo $NEXT_KERNEL | sed -e 's@\.@_@g') -cvs tag $TAG +cvs tag -b $TAG rm -f $TEMP_PATCH diff --git a/needs-checking/p_diff b/needs-checking/p_diff index 1497b05..843e4cc 100755 --- a/needs-checking/p_diff +++ b/needs-checking/p_diff @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # # Bring up a patched file in diff. We show the diffs diff --git a/needs-checking/patchdesc b/needs-checking/patchdesc index 18d3e94..2f0fdaf 100755 --- a/needs-checking/patchdesc +++ b/needs-checking/patchdesc @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. . patchfns 2>/dev/null || . /usr/lib/patch-scripts/patchfns 2>/dev/null || diff --git a/needs-checking/pstatus b/needs-checking/pstatus index 0c32102..4ceff7d 100755 --- a/needs-checking/pstatus +++ b/needs-checking/pstatus @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # print out patch status. Usage: pstatus [ patchfile ... ] # diff --git a/needs-checking/ptkdiff b/needs-checking/ptkdiff index a965bdd..eb4dddc 100755 --- a/needs-checking/ptkdiff +++ b/needs-checking/ptkdiff @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # # Bring up a patched file in tkdiff. We show the diffs diff --git a/needs-checking/removed-by-patch b/needs-checking/removed-by-patch index ff12970..e70158d 100755 --- a/needs-checking/removed-by-patch +++ b/needs-checking/removed-by-patch @@ -1,4 +1,12 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. + + # Extract names of new files from a patch, print them out PATCHFILE=$1 diff --git a/needs-checking/rename-patch b/needs-checking/rename-patch index e6e1af0..c186170 100755 --- a/needs-checking/rename-patch +++ b/needs-checking/rename-patch @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. . patchfns 2>/dev/null || . /usr/lib/patch-scripts/patchfns 2>/dev/null || @@ -9,8 +15,18 @@ exit 1 } -OLD=$(stripit $1) -NEW=$(stripit $2) +if [ $# -eq 1 ] +then + OLD=$(stripit $1) + NEW=_$OLD +elif [ $# -eq 2 ] +then + OLD=$(stripit $1) + NEW=$(stripit $2) +else + echo "Usage: rename-patch old [new]" + exit 1 +fi mv $(pc_file_name $OLD) $(pc_file_name $NEW) mv $(patch_file_name $OLD) $(patch_file_name $NEW) diff --git a/needs-checking/rolled-up-patch b/needs-checking/rolled-up-patch index 4136609..dfad66b 100755 --- a/needs-checking/rolled-up-patch +++ b/needs-checking/rolled-up-patch @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. . patchfns 2>/dev/null || . /usr/lib/patch-scripts/patchfns 2>/dev/null || diff --git a/needs-checking/tag-series b/needs-checking/tag-series index 93a3cf9..d61dfe0 100755 --- a/needs-checking/tag-series +++ b/needs-checking/tag-series @@ -1,4 +1,10 @@ -#!/bin/sh +#! /bin/bash + +# This script is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# See the COPYING and AUTHORS files for more details. # tag-series tagname series-file-name # |