'Properly' fix rebuildpatches
This commit is contained in:
parent
1a58ea5d49
commit
959d6ac882
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
(
|
||||
set -e
|
||||
PS1="$"
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
workdir="$basedir/work"
|
||||
|
@ -17,9 +16,7 @@ function cleanupPatches {
|
|||
|
||||
testver=$(echo "$diffs" | tail -n 2 | grep -ve "^$" | tail -n 1 | grep "$gitver")
|
||||
if [ "x$testver" != "x" ]; then
|
||||
set +e
|
||||
diffs=$(echo "$diffs" | sed 'N;$!P;$!D;$d')
|
||||
set -e
|
||||
fi
|
||||
|
||||
if [ "x$diffs" == "x" ] ; then
|
||||
|
|
Loading…
Reference in a new issue