From abcd0f018dc49a218ce70d22e97fc7b654fcf1c8 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 24 Feb 2013 16:24:32 +0100 Subject: [PATCH] Use /bin/bash as interpreter. Since 5390eff0ba7a732269f040b0a4c4a3b9a0db2733 we use a few bash features like arrays in config/debian/vars. --- scripts/debian/byhand-win32-loader | 2 +- scripts/debian/generate-d-i | 2 +- scripts/debian/update-bugdoctxt | 4 +++- scripts/debian/update-mailingliststxt | 4 +++- scripts/debian/update-mirrorlists | 4 +++- scripts/debian/update-pseudopackages.sh | 2 ++ 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/scripts/debian/byhand-win32-loader b/scripts/debian/byhand-win32-loader index d0ef0a7e..2006a195 100755 --- a/scripts/debian/byhand-win32-loader +++ b/scripts/debian/byhand-win32-loader @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -u set -e diff --git a/scripts/debian/generate-d-i b/scripts/debian/generate-d-i index 4e2587fa..a5d54dc3 100755 --- a/scripts/debian/generate-d-i +++ b/scripts/debian/generate-d-i @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Original written from Jeroen van Wolffelaar diff --git a/scripts/debian/update-bugdoctxt b/scripts/debian/update-bugdoctxt index 2a89da40..6c4ece0c 100755 --- a/scripts/debian/update-bugdoctxt +++ b/scripts/debian/update-bugdoctxt @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/bash + +set -e export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS diff --git a/scripts/debian/update-mailingliststxt b/scripts/debian/update-mailingliststxt index 3c3dcaf3..950c8177 100755 --- a/scripts/debian/update-mailingliststxt +++ b/scripts/debian/update-mailingliststxt @@ -1,8 +1,10 @@ -#!/bin/sh +#!/bin/bash # # Fetches latest copy of mailing-lists.txt # Michael Beattie +set -e + export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS diff --git a/scripts/debian/update-mirrorlists b/scripts/debian/update-mirrorlists index 3d1fb31e..a711d8a6 100755 --- a/scripts/debian/update-mirrorlists +++ b/scripts/debian/update-mirrorlists @@ -1,8 +1,10 @@ -#!/bin/sh +#!/bin/bash # # Very Very hackish script... dont laugh. # Michael Beattie +set -e + export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS diff --git a/scripts/debian/update-pseudopackages.sh b/scripts/debian/update-pseudopackages.sh index 76551ff3..62d234ce 100755 --- a/scripts/debian/update-pseudopackages.sh +++ b/scripts/debian/update-pseudopackages.sh @@ -3,6 +3,8 @@ # Fetches latest copy of pseudo-packages # Joerg Jaspert +set -e + export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS -- 2.39.5