File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ parse_ini_config_file() {
78
78
die " Can't find $1 - create it or pick one using 'cqfd -f'"
79
79
fi
80
80
81
- ini=" $( < $1 ) " # read the file
81
+ ini=" $( < " $1 " ) " # read the file
82
82
ini=" ${ini// [/ \\ [} " # escape [
83
83
ini=" ${ini// ]/ \\ ]} " # escape ]
84
84
IFS=$' \n ' && ini=( ${ini} ) # convert to line-array
@@ -398,7 +398,7 @@ config_load() {
398
398
399
399
# This will look like cqfd_USER_ORG_NAME_HASH
400
400
local format_user=$( echo $USER | sed ' s/[^0-9a-zA-Z\-]/_/g' )
401
- local dockerfile_hash=$( sha256sum $dockerfile | cut -b 1-7)
401
+ local dockerfile_hash=$( sha256sum " $dockerfile " | cut -b 1-7)
402
402
docker_img_name=" cqfd${format_user: +_${format_user} } _${project_org} _${project_name} _${dockerfile_hash} "
403
403
404
404
# Adapt things for a specific container
You can’t perform that action at this time.
0 commit comments