From 3e4e93edf81e2f0727bdc849b540e8ba95e59c03 Mon Sep 17 00:00:00 2001 From: Michael Rodler Date: Wed, 5 Apr 2017 12:51:51 +0200 Subject: [PATCH] added bash -ex to install scripts --- miasm/install | 2 +- miasm/install-root-debian | 2 +- miasm/install-root-fedora | 6 ++++-- rr/install | 2 +- rr/install-root-archlinux | 3 ++- rr/install-root-debian | 3 ++- rr/install-root-fedora | 3 ++- 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/miasm/install b/miasm/install index f73bfcf..e7d9954 100755 --- a/miasm/install +++ b/miasm/install @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/bash -ex git clone --depth 1 https://github.com/serpilliere/elfesteem.git git clone --depth 1 https://github.com/cea-sec/miasm.git diff --git a/miasm/install-root-debian b/miasm/install-root-debian index 1bcf371..1453e56 100755 --- a/miasm/install-root-debian +++ b/miasm/install-root-debian @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -ex apt-get install -y zlib zlib-dev libstdc++6-4.9-dev libstdc++6 \ llvm-3.5 llvm--3.5-dev libedit libedit-dev diff --git a/miasm/install-root-fedora b/miasm/install-root-fedora index 547411d..3f1fc06 100755 --- a/miasm/install-root-fedora +++ b/miasm/install-root-fedora @@ -1,2 +1,4 @@ -#!/bin/bash -dnf install -y zlib zlib-devel libstdc++-devel libstdc++ libstdc++-static llvm-3.5.0 llvm-devel-3.5.0 libedit libedit-devel +#!/bin/bash -ex + +dnf install -y zlib zlib-devel libstdc++-devel libstdc++ libstdc++-static \ + llvm-3.5.0 llvm-devel-3.5.0 libedit libedit-devel diff --git a/rr/install b/rr/install index 75fd7bc..8a7b128 100755 --- a/rr/install +++ b/rr/install @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/bash -ex git clone https://github.com/mozilla/rr.git mkdir build diff --git a/rr/install-root-archlinux b/rr/install-root-archlinux index e4cca3b..429bd9c 100755 --- a/rr/install-root-archlinux +++ b/rr/install-root-archlinux @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash -ex + pacman -Syu --noconfirm --needed \ ccache cmake gdb python2-pexpect ninja zlib ./configure-system diff --git a/rr/install-root-debian b/rr/install-root-debian index dad37c1..a0431f6 100755 --- a/rr/install-root-debian +++ b/rr/install-root-debian @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash -ex + apt-get install -y ccache cmake make g++-multilib gdb \ pkg-config libz-dev realpath python-pexpect manpages-dev git zlib1g-dev \ ninja-build diff --git a/rr/install-root-fedora b/rr/install-root-fedora index d897155..53d66ac 100755 --- a/rr/install-root-fedora +++ b/rr/install-root-fedora @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/bash -ex + dnf install -y \ ccache cmake make gcc gcc-c++ gdb \ glibc-devel glibc-devel.i686 libstdc++-devel libstdc++-devel.i686 zlib-devel \