16 lines
296 B
Bash
16 lines
296 B
Bash
#!/bin/sh
|
|
#
|
|
# clean up the patch via quilt again; run on linux-glibc-devel-6.4
|
|
|
|
patchfile="$1"
|
|
p="${patchfile##*/}"
|
|
|
|
mkdir .pc
|
|
echo "2" > .pc/.version
|
|
mkdir patches
|
|
quilt import -p1 "$patchfile"
|
|
quilt push
|
|
quilt refresh -p ab --no-index --no-timestamps --sort
|
|
cp "patches/$p" "$patchfile"
|
|
exit 0
|