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 Aug 9, 2024
1 parent 4dd4580 commit f9a0814
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 @@ -384,7 +384,5 @@ $(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)
>>>>>>> e6b4ed7 (add Schneider_PM55XX MIB to downloads for SNMP generator)

0 comments on commit f9a0814

Please sign in to comment.