chg: [tools] removed: #@IgnoreInspection BashAddShebang -- Added a better globbing opt: ./*

pull/3766/head
Steve Clement 2018-10-16 15:07:06 +09:00
parent 363d00db7a
commit 5139a80aa2
2 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,7 @@ MySQLRPass=${MySQLRPass:-$MySQLUPass}
mysqldump --opt -u $MySQLRUser -p$MySQLRPass $MISPDB > $TmpDir/MISPbackupfile.sql
# Create compressed archive
cd $TmpDir
tar -zcf $OutputFull *
tar -zcf $OutputFull ./*
cd -
rm -rf $TmpDir
echo "MISP Backup Completed, OutputDir: ${OutputDirName}"

View File

@ -1,4 +1,3 @@
#@IgnoreInspection BashAddShebang
#!/bin/bash
##
## script to wipe MISP on debian/ubuntu