Skip to content

Commit

Permalink
macos: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 21, 2024
1 parent 2aacfd7 commit e26a21d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/myci-subst-var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ for i in $infiles; do
# substitute the rest of variables
for k in ${!key[@]}; do
[ "$k" != 0 ] || continue
${subst_cmd[$k]} --in-place $outfile
${subst_cmd[$k]} -i $outfile
done
else
cp $i $outfile
Expand Down
4 changes: 3 additions & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#we want exit immediately if any command fails and we want error in piped commands to be preserved
set -eo pipefail

tests=$(ls -d */)
script_dir="$(dirname $0)/"

tests=$(ls -d $script_dir/*/)

for t in $tests
do
Expand Down

0 comments on commit e26a21d

Please sign in to comment.