From 1d09b8002f949652dbd3d55b6e1de72571d1e85d Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Fri, 22 Sep 2017 21:51:27 -0400 Subject: Remove overlooked braces from parameter expansions This is a continuation of the last set of commits removing braces from parameter expressions which do not require them. The main script was overlooked when applying the previous changes, which this commit aims to correct. Also, one parameter expansion in libs/common was corrected as it was overlooked as well. --- libs/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/common b/libs/common index b0cb5867..fd001a5d 100755 --- a/libs/common +++ b/libs/common @@ -113,7 +113,7 @@ diff_patch_file() { local patch_file_path="$2" # TODO: Improve handling of filenames to avoid gotchas w/ \n, \t, etc. - local filename_in_diff="$(sed -rne 's/^-{3}\s+([^ \r\n]*).*/\1/p' "${patch_file_path}")" + local filename_in_diff="$(sed -rne 's/^-{3}\s+([^ \r\n]*).*/\1/p' "$patch_file_path")" local source_file_path -- cgit v1.2.3-70-g09d2