From 959d6ac882b7692cfc7fba51092b3e42bbd9c92e Mon Sep 17 00:00:00 2001 From: Zach Brown 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 0bc21a87a..5b6d93826 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