summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2014-11-28 16:19:58 +0100
committerSimon Lejeune <sle@openerp.com>2014-11-28 16:40:56 +0100
commit9d0bd2807e2c2b949ece62fd6be04a1cf39c8e0d (patch)
tree55a753917cb33d600805037992cbae5f51d06cf7 /setup
parentb0722d3e5d6bebdf19dc29b8ba04651ae508839f (diff)
[FIX] Packaging: RedHat: (post-)install shell shebang
Diffstat (limited to 'setup')
-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