Browse Source

Fix opt_add to accept quotes

Scott Lahteine 5 years ago
parent
commit
ab781de5a0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      buildroot/bin/opt_add

+ 1
- 1
buildroot/bin/opt_add View File

@@ -1,3 +1,3 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration_adv.h"
3
+eval "echo '#define ${@}' >>Marlin/Configuration_adv.h"

Loading…
Cancel
Save