Skip to content

Commit 0d047d7

Browse files
committed
remove inplace fix for underscore in Schneider mib
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]>
1 parent 5c043ab commit 0d047d7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

generator/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,4 @@ $(MIBDIR)/SchneiderPM55xx_V01_13.mib:
378378
@echo ">> Downloading SchneiderPM55xx_V01_13.mib to $(TMP)"
379379
@curl $(CURL_OPTS) -o $(TMP) $(SCHNEIDER_PM55XX_URL)
380380
@unzip -j -d $(MIBDIR) $(TMP) PM5560_PM5563_v2.1.0/SchneiderPM55xx_V01_13.mib
381-
# Workaround invalid character in Schneider MIB
382-
@sed -i 's/_//g' $(MIBDIR)/SchneiderPM55xx_V01_13.mib
383381
@rm -v $(TMP)

0 commit comments

Comments
 (0)