Using """x""" is identical to "x"

This commit is contained in:
Tyler Akins
2015-06-12 13:27:42 -05:00
parent 01e681035d
commit db9b2eef60
5 changed files with 21 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ set -e
blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "${blackbox_home}/_blackbox_common.sh"
for param in """$@""" ; do
for param in "$@" ; do
unencrypted_file=$(get_unencrypted_filename "$param")
if ! is_on_cryptlist "$param" && ! is_on_cryptlist "$unencrypted_file" ; then
read -r -p "Encrypt file $param? (y/n) " ans