summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-xsrc/chroot-tools/chcleanup3
-rwxr-xr-xsrc/chroot-tools/distcc-tool2
-rw-r--r--src/chroot-tools/hooks-chcleanup.sh3
-rw-r--r--src/chroot-tools/hooks-check.sh3
-rw-r--r--src/chroot-tools/hooks-distcc.sh3
-rwxr-xr-xsrc/chroot-tools/librechroot3
-rwxr-xr-xsrc/chroot-tools/libremakepkg3
7 files changed, 13 insertions, 7 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup
index 0461de2..a43065b 100755
--- a/src/chroot-tools/chcleanup
+++ b/src/chroot-tools/chcleanup
@@ -1,4 +1,5 @@
-#!/bin/bash -eE
+#!/usr/bin/env bash
+set -eE
# (c) Nicolás Reynolds <fauno@parabola.nu>
# Released under GPLv3
#
diff --git a/src/chroot-tools/distcc-tool b/src/chroot-tools/distcc-tool
index 67bcd2d..7633029 100755
--- a/src/chroot-tools/distcc-tool
+++ b/src/chroot-tools/distcc-tool
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# -*- tab-width: 4; sh-basic-offset: 4 -*-
# distcc-tool
diff --git a/src/chroot-tools/hooks-chcleanup.sh b/src/chroot-tools/hooks-chcleanup.sh
index 6a95dfb..09e6dd9 100644
--- a/src/chroot-tools/hooks-chcleanup.sh
+++ b/src/chroot-tools/hooks-chcleanup.sh
@@ -1,4 +1,5 @@
-#!/bin/bash -euE
+#!/usr/bin/env bash
+set -euE
hooks_pre_build+=("clean_chroot")
diff --git a/src/chroot-tools/hooks-check.sh b/src/chroot-tools/hooks-check.sh
index dee7c04..e8120b8 100644
--- a/src/chroot-tools/hooks-check.sh
+++ b/src/chroot-tools/hooks-check.sh
@@ -1,4 +1,5 @@
-#!/bin/bash -euE
+#!/usr/bin/env bash
+set -euE
hook_check_pkgbuild+=("check_pkgbuild_dependencies")
check_pkgbuild_dependencies() {
diff --git a/src/chroot-tools/hooks-distcc.sh b/src/chroot-tools/hooks-distcc.sh
index bbbc3e9..9e42242 100644
--- a/src/chroot-tools/hooks-distcc.sh
+++ b/src/chroot-tools/hooks-distcc.sh
@@ -1,4 +1,5 @@
-#!/bin/bash -euE
+#!/usr/bin/env bash
+set -euE
hook_pre_build+=("distcc_start")
hook_post_build+=("distcc_stop")
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index e5ca1f7..0b3ad43 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -1,4 +1,5 @@
-#!/bin/bash -euE
+#!/usr/bin/env bash
+set -euE
# librechroot
# Copyright 2010 Nicolás Reynolds
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index 22e7a7f..a59315b 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -1,4 +1,5 @@
-#!/bin/bash -euE
+#!/usr/bin/env bash
+set -euE
# libremakepkg
# Copyright 2010-2011 Nicolás Reynolds