mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-25 12:33:42 +01:00
9 lines
212 B
Text
9 lines
212 B
Text
|
#!/bin/sh
|
||
|
set -x
|
||
|
for gname in G*.c; do
|
||
|
lname="L$(expr $gname : '.\(.*\)')"
|
||
|
bk edit $lname >/dev/null 2>&1
|
||
|
echo -e "#ifndef UNW_REMOTE_ONLY\n#define UNW_LOCAL_ONLY\n\
|
||
|
#include \"$gname\"\n#endif" > $lname
|
||
|
done
|