Using """x""" is identical to "x"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user