6586341d1d
branches.
6 lines
190 B
Bash
Executable File
6 lines
190 B
Bash
Executable File
#! /bin/sh
|
|
# $Id$
|
|
# Print the first unused patch number across all the current package's branches.
|
|
|
|
echo $[1+$(cat ../*/*.spec|sed -n 's/^[# %]*patch\([0-9]*\).*$/\1/p'|sort -rnu|head -n1)]
|