pkgsrc-ng/www/contao32/patches/patch-system_bin_sqldump
2014-08-11 13:27:10 +02:00

17 lines
348 B
Plaintext

$NetBSD: patch-system_bin_sqldump,v 1.1.4.1 2014/04/09 11:10:15 tron 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"