Skip to content

Commit

Permalink
Fix sysinfogen.sh get incorrect synctax SYSINFO_CPUCORES
Browse files Browse the repository at this point in the history
  • Loading branch information
vietlubu committed Jan 14, 2024
1 parent b5a59b1 commit b836b93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sysinfogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ cat >> "$OUTFILE" << EOF
#define SYSINFO_CPU "$( cleanstring "${HERC_CPU}" )"
// CPU Cores (Platform-dependent)
#define SYSINFO_CPUCORES ( $( cleanstring "${HERC_CORES}" ) )
#define SYSINFO_CPUCORES ( "$( cleanstring "${HERC_CORES}" )" )
EOF
[ $? -eq 0 ] || do_fail
Expand Down Expand Up @@ -290,4 +290,3 @@ cat >> "$OUTFILE" << EOF
EOF
[ $? -eq 0 ] || do_fail

0 comments on commit b836b93

Please sign in to comment.