Skip to content
Snippets Groups Projects
Commit cbe18e56 authored by Jorge Canizales's avatar Jorge Canizales
Browse files

Remove unneeded error trap.

parent b71f8fbd
No related branches found
No related tags found
No related merge requests found
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Return to current directory on error. set -e
trap 'cd - > /dev/null; exit 1' ERR
cd $(dirname $0) cd $(dirname $0)
...@@ -47,5 +46,3 @@ xcodebuild \ ...@@ -47,5 +46,3 @@ xcodebuild \
-destination name="iPhone 6" \ -destination name="iPhone 6" \
test \ test \
| egrep "$XCODEBUILD_FILTER" - | egrep "$XCODEBUILD_FILTER" -
cd - > /dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment