~ubuntu-branches/debian/stretch/haproxy/stretch

« back to all changes in this revision

Viewing changes to debian/patches/bashism

  • Committer: Bazaar Package Importer
  • Author(s): Christo Buschek
  • Date: 2011-03-11 12:41:59 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110311124159-9foyp4juf1ilqipo
Tags: 1.4.13-1
* New maintainer upload (Closes: #615246)
* New upstream release
* Standards-version goes 3.9.1 (no change)
* Added patch bashism (Closes: #581109)
* Added a README.source file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: haproxy-1.4.13/examples/debugfind
 
2
===================================================================
 
3
--- haproxy-1.4.13.orig/examples/debugfind      2011-03-11 00:05:38.000000000 +0000
 
4
+++ haproxy-1.4.13/examples/debugfind   2011-03-11 00:05:43.000000000 +0000
 
5
@@ -1,4 +1,4 @@
 
6
-#!/bin/bash
 
7
+#!/bin/sh
 
8
 if [ $# -lt 2 ]; then
 
9
        echo "Usage: $0 regex debug_file > extracted_file"
 
10
        exit 1
 
11
Index: haproxy-1.4.13/examples/stats_haproxy.sh
 
12
===================================================================
 
13
--- haproxy-1.4.13.orig/examples/stats_haproxy.sh       2011-03-11 00:05:11.000000000 +0000
 
14
+++ haproxy-1.4.13/examples/stats_haproxy.sh    2011-03-11 00:05:25.000000000 +0000
 
15
@@ -1,4 +1,4 @@
 
16
-#!/bin/bash
 
17
+#!/bin/sh
 
18
 
 
19
 ## contrib by prizee.com
 
20
 
 
21
@@ -11,7 +11,7 @@
 
22
 
 
23
 printUsage ()
 
24
 {
 
25
-    echo -e "Usage : $(basename $0) [options] -s section
 
26
+    printf "Usage : $(basename $0) [options] -s section
 
27
 --section -s section\t: section to use ( --list format)
 
28
 Options :
 
29
 --socket -S [socket]\t: socket to use (default: /var/run/haproxy.stat)