Skip to content

Commit fe322ed

Browse files
committed
Fix bug caused by incorrect value being used.
1 parent 2f4847c commit fe322ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/inline_source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ inline_source() {
156156
sTrimmedLine="$(echo "${REPLY}" | xargs)"
157157

158158
if [[ ${sTrimmedLine:0:7} == 'source ' && ${REPLY} != *\$* ]]; then
159-
replace_line_with_file_content "${REPLY}"
159+
replace_line_with_file_content "${sTrimmedLine}"
160160
else
161161
echo "${REPLY}"
162162
fi

inline_source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ source 'src/function.replace_line_with_file_content.sh'
2828
sTrimmedLine="$(echo "${REPLY}" | xargs)"
2929

3030
if [[ "${sTrimmedLine:0:7}" = 'source ' && ${REPLY} != *\$* ]]; then
31-
replace_line_with_file_content "${REPLY}"
31+
replace_line_with_file_content "${sTrimmedLine}"
3232
else
3333
echo "${REPLY}"
3434
fi

0 commit comments

Comments
 (0)