Skip to content

Commit 48c627c

Browse files
committedNov 14, 2024
fix script execution
1 parent 47dfe87 commit 48c627c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/operator/match_and_execute.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MATCHES=$(sed -n '/```/,/```/p' $FILE_GUIDE | perl -pe 's/^\s*//; s/\s*\\\s*\n/
88
if [ $MATCHES -eq 1 ]
99
then
1010
echo "Executing '$EXECUTION_LINE'"
11-
$($EXECUTION_LINE)
11+
eval "$EXECUTION_LINE"
1212
else
1313
echo "Couldn't find '$EXECUTION_LINE' in '$FILE_GUIDE' so aborting"
1414
exit 1

0 commit comments

Comments
 (0)