File: 09-fix-bashism.patch

package info (click to toggle)
alliance 5.0-20120515-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 70,324 kB
  • ctags: 39,977
  • sloc: ansic: 350,299; vhdl: 34,227; yacc: 27,122; sh: 12,416; cpp: 9,478; makefile: 7,057; lex: 3,684
file content (18 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix bashism
 In attila/src/attila.sh, there is a bashism in l.196:
  exec -a "$SELF" "$SELF" $*
 therefore using /bin/bash as shell. See also:
 https://wiki.ubuntu.com/DashAsBinSh
Author: Roland Stigge <stigge@antcom.de>
Bug-Debian: http://bugs.debian.org/690623

Index: alliance-5.0-20120515/attila/src/attila.sh
===================================================================
--- alliance-5.0-20120515.orig/attila/src/attila.sh	2012-04-11 15:30:29.000000000 +0200
+++ alliance-5.0-20120515/attila/src/attila.sh	2012-10-16 09:27:49.240364100 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # $Id: attila.sh,v 1.27 2012/04/11 13:30:29 alliance Exp $
 #