commit
603855a050
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
find ${1} -name "*.[ch]" | xargs sed -i 's/() {/(void) {/'
|
||||
. ${RIOTBASE}/pkg/relic/os_util.sh
|
||||
find ${1} -type f -name "*.[ch]" -exec ${SEDBIN} 's/() {/(void) {/' {} +
|
||||
|
@ -1,2 +1,3 @@
|
||||
#!/bin/sh
|
||||
find ${1} -name "*.[ch]" | xargs sed -i 's/util_print("\(.*\)")/util_print("\1", NULL)/g'
|
||||
. ${RIOTBASE}/pkg/relic/os_util.sh
|
||||
find ${1} -type f -name "*.[ch]" -exec ${SEDBIN} 's/util_print("\(.*\)")/util_print("\1", NULL)/g' {} +
|
||||
|
@ -0,0 +1,6 @@
|
||||
OSNAME=`uname -s`
|
||||
SEDBIN="sed -i"
|
||||
if [ "${OSNAME}" = "Darwin" ] ; then
|
||||
SEDBIN="sed -i ''"
|
||||
LANG=C
|
||||
fi
|
Loading…
Reference in New Issue