From e085af0f4884a5086943156540693dc7f7ce43c9 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 20 Jan 2011 23:13:37 +0100 Subject: [PATCH] use set statements for options to the shell Signed-off-by: Joerg Jaspert --- scripts/debian/byhand-di | 5 ++++- scripts/debian/byhand-tag | 5 ++++- scripts/debian/byhand-task | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index ab01536d..9e1b0512 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e if [ $# -lt 4 ]; then echo "Usage: $0 filename version arch changes_file" diff --git a/scripts/debian/byhand-tag b/scripts/debian/byhand-tag index 81a89466..87bb6887 100755 --- a/scripts/debian/byhand-tag +++ b/scripts/debian/byhand-tag @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS diff --git a/scripts/debian/byhand-task b/scripts/debian/byhand-task index 82f09644..015256dc 100755 --- a/scripts/debian/byhand-task +++ b/scripts/debian/byhand-task @@ -1,4 +1,7 @@ -#!/bin/sh -ue +#!/bin/sh + +set -u +set -e if [ $# -lt 4 ]; then echo "Usage: $0 filename version arch changes_file" -- 2.39.5