From 2447bfaf301d9b58ce86855f4cec82407a16ecc0 Mon Sep 17 00:00:00 2001 From: Harald Nezbeda Date: Wed, 6 Sep 2017 06:44:39 +0200 Subject: [PATCH] Add bash shebang in database export --- export.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/export.sh b/export.sh index 547f0f8..03ff252 100755 --- a/export.sh +++ b/export.sh @@ -1,3 +1,4 @@ +#!/bin/bash _os="`uname`" _now=$(date +"%m_%d_%Y") _file="wp-data/data_$_now.sql" @@ -6,4 +7,4 @@ if [[ $_os == "Darwin"* ]] ; then sed -i '.bak' 1,1d $_file else sed -i 1,1d $_file # Removes the password warning from the file -fi \ No newline at end of file +fi