1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
Author: Robbie Harwood <rharwood@club.cc.cmu.edu>
Description: Avoid using build-time shell in built scripts for reproducibility
Index: amanda.git/amplot/amplot.sh
===================================================================
--- amanda.git.orig/amplot/amplot.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/amplot/amplot.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#!@SHELL@
+#!/bin/sh
# Amanda, The Advanced Maryland Automatic Network Disk Archiver
# Copyright (c) 1992-1998 University of Maryland at College Park
# Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved.
Index: amanda.git/client-src/patch-system.sh
===================================================================
--- amanda.git.orig/client-src/patch-system.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/client-src/patch-system.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#! @SHELL@
+#!/bin/sh
#
# patch inetd.conf and services
# originally by Axel Zinser (fifi@hiss.han.de)
Index: amanda.git/common-src/amaespipe.sh
===================================================================
--- amanda.git.orig/common-src/amaespipe.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/common-src/amaespipe.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#! @SHELL@
+#!/bin/sh
#
# Copyright (c) 2007-2012 Zmanda Inc. All Rights Reserved.
#
Index: amanda.git/common-src/amcrypt-ossl-asym.sh
===================================================================
--- amanda.git.orig/common-src/amcrypt-ossl-asym.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/common-src/amcrypt-ossl-asym.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#!@SHELL@
+#!/bin/sh
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Index: amanda.git/common-src/amcrypt-ossl.sh
===================================================================
--- amanda.git.orig/common-src/amcrypt-ossl.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/common-src/amcrypt-ossl.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#!@SHELL@
+#!/bin/sh
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Index: amanda.git/common-src/amcrypt.sh
===================================================================
--- amanda.git.orig/common-src/amcrypt.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/common-src/amcrypt.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#!@SHELL@
+#!/bin/sh
#
# Original wrapper by Paul Bijnens
#
Index: amanda.git/server-src/amcheckdb.sh
===================================================================
--- amanda.git.orig/server-src/amcheckdb.sh 2017-01-15 19:35:08.323368174 +0000
+++ amanda.git/server-src/amcheckdb.sh 2017-01-15 19:35:08.319368169 +0000
@@ -1,4 +1,4 @@
-#! @SHELL@
+#!/bin/sh
#
# check tapelist against database and vice versa
#
|