[clean] Improve display for filenames with spaces

This commit is contained in:
Charles Prost
2015-03-19 10:59:37 +01:00
parent f78d25b004
commit a7b8c32da0
3 changed files with 6 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ source "${blackbox_home}/_blackbox_common.sh"
unencrypted_file=$(get_unencrypted_filename "$1")
encrypted_file=$(get_encrypted_filename "$1")
echo ========== PLAINFILE "$unencrypted_file"
echo ========== ENCRYPTED "$encrypted_file"
echo ========== PLAINFILE '"'$unencrypted_file'"'
echo ========== ENCRYPTED '"'$encrypted_file'"'
fail_if_not_on_cryptlist "$unencrypted_file"
fail_if_not_exists "$unencrypted_file" "No unencrypted version to encrypt!"
@@ -22,6 +22,6 @@ shred_file "$unencrypted_file"
_determine_vcs_base_and_type
echo "========== UPDATED ${encrypted_file}"
echo ========== UPDATED '"'$encrypted_file'"'
echo "Likely next step:"
echo " $VCS_TYPE commit -m\"${encrypted_file} updated\" $encrypted_file"
echo " $VCS_TYPE commit -m\"${encrypted_file} updated\" \"$encrypted_file\""