Skip to content

Commit

Permalink
Merge pull request #318 from b3nj5m1n/fix-missing-program
Browse files Browse the repository at this point in the history
Fix skipping one program during check
  • Loading branch information
b3nj5m1n authored Jan 7, 2024
2 parents f245eba + 21c63ce commit ff5ea3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdg-ninja.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ do_check_programs() {
" read -r name; read -r filename; read -r movable; read -r help; do
check_file "$name" "$filename" "$movable" "$help"
done <<EOF
$(jq 'inputs as $input | $input.files[] as $file | $input.name, $file.path, $file.movable, $file.help' "$XN_PROGRAMS_DIR"/* | sed -e 's/^"//' -e 's/"$//')
$(jq '.files[] as $file | .name, $file.path, $file.movable, $file.help' "$XN_PROGRAMS_DIR"/* | sed -e 's/^"//' -e 's/"$//')
EOF
# sed is to trim quotes
}
Expand Down

0 comments on commit ff5ea3a

Please sign in to comment.