Skip to content

Commit

Permalink
Merge pull request #108 from perftool-incubator/dev-kmr
Browse files Browse the repository at this point in the history
ignore symbolic links when getting the list of userenvs in the get-us…
  • Loading branch information
k-rister authored Feb 6, 2024
2 parents cbe5dfe + 37015e8 commit df3fa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/get-userenvs/generate-userenv-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rickshaw_directory=${1}
excludes="stream8-flexran"

if pushd ${rickshaw_directory}; then
userenvs=$(find userenvs/ -maxdepth 1 -name '*.json' | sed -e 's|userenvs/||' -e 's|\.json||')
userenvs=$(find userenvs/ -maxdepth 1 -name '*.json' -type f | sed -e 's|userenvs/||' -e 's|\.json||')
# Discard excluded envs
for ex in ${excludes[@]}; do
new=( "${userenvs[@]/$ex}" )
Expand Down

0 comments on commit df3fa6b

Please sign in to comment.