summaryrefslogtreecommitdiff
path: root/www/contao32/patches/patch-system_bin_sqldump
blob: d10b215c30158a58357cd5d5bd1896634c9685c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-system_bin_sqldump,v 1.2 2014/04/07 13:30:06 taca Exp $

No bash specific function is needed here.

--- system/bin/sqldump.orig	2014-04-07 08:30:27.000000000 +0000
+++ system/bin/sqldump
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 
 # Database name
-if [[ $1 != "" ]]; then
+if [ "$1" ]; then
   tpl=$1
 else
   tpl="music_academy"