Improves travis buildroot regexp

This commit is contained in:
João Brázio committed 2016-06-11 02:55:09 +01:00
1 parent bf8710d522
commit 280af07b4c
7 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
eval "sed -i 's/\(#define +$1 +\)[^ ]*$/\1 $2/g' Marlin/Configuration_adv.h"
eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration_adv.h"