Files
pkgsrc-ng/www/contao32/patches/patch-system_bin_sqldump
2016-01-21 23:40:00 +01:00

17 lines
344 B
Plaintext

$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"