summaryrefslogtreecommitdiff
path: root/setup/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'setup/redhat')
-rw-r--r--setup/redhat/install.sh2
-rw-r--r--setup/redhat/postinstall.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup/redhat/install.sh b/setup/redhat/install.sh
index a74c7cd975b..e214d04acff 100644
--- a/setup/redhat/install.sh
+++ b/setup/redhat/install.sh
@@ -1,3 +1,3 @@
-#!/usr/bin/env bash
+#!/bin/sh
set -e
python setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
diff --git a/setup/redhat/postinstall.sh b/setup/redhat/postinstall.sh
index ccc8fd63ebe..c7e5e9d8eb2 100644
--- a/setup/redhat/postinstall.sh
+++ b/setup/redhat/postinstall.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e