Skip to content

Commit

Permalink
remove inplace fix for underscore in Schneider mib
Browse files Browse the repository at this point in the history
I missed the `--snmp.mibopts` before. By using `--snmp.mibopts u`, this error can
be prevented and it offers a much more robust way to handle the problem than
using `sed` in a makefile.

Signed-off-by: Francis Begyn <[email protected]>
  • Loading branch information
fbegyn committed May 7, 2024
1 parent 5c043ab commit 0d047d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions generator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,4 @@ $(MIBDIR)/SchneiderPM55xx_V01_13.mib:
@echo ">> Downloading SchneiderPM55xx_V01_13.mib to $(TMP)"
@curl $(CURL_OPTS) -o $(TMP) $(SCHNEIDER_PM55XX_URL)
@unzip -j -d $(MIBDIR) $(TMP) PM5560_PM5563_v2.1.0/SchneiderPM55xx_V01_13.mib
# Workaround invalid character in Schneider MIB
@sed -i 's/_//g' $(MIBDIR)/SchneiderPM55xx_V01_13.mib
@rm -v $(TMP)

0 comments on commit 0d047d7

Please sign in to comment.