From 562cf2ea2ee5e631ff1054f9ab0cc2ca517578dc Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Sun, 3 Apr 2016 05:05:52 -0500 Subject: [PATCH] 'Properly' fix rebuildpatches --- scripts/rebuildPatches.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/rebuildPatches.sh b/scripts/rebuildPatches.sh index 0bc21a87af..5b6d938261 100755 --- a/scripts/rebuildPatches.sh +++ b/scripts/rebuildPatches.sh @@ -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