mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
53 lines
909 B
Bash
Executable File
53 lines
909 B
Bash
Executable File
#!/bin/sh
|
|
FILES="
|
|
libr/include/r_list.h
|
|
libr/include/r_reg.h
|
|
libr/anal/cycles.c
|
|
libr/anal/esil.c
|
|
libr/anal/data.c
|
|
libr/anal/p/anal_arc.c
|
|
libr/config/config.c
|
|
libr/config/callback.c
|
|
libr/config/t/test.c
|
|
libr/fs/fs.c
|
|
libr/reg/reg.c
|
|
libr/reg/arena.c
|
|
libr/reg/double.c
|
|
libr/reg/cond.c
|
|
libr/reg/value.c
|
|
libr/reg/profile.c
|
|
libr/bin/bin.c
|
|
libr/bin/bin_write.c
|
|
libr/bin/dbginfo.c
|
|
libr/bin/filter.c
|
|
libr/bin/format/objc/mach0_classes.c
|
|
libr/cons/hud.c
|
|
libr/cons/2048.c
|
|
libr/cons/utf8.c
|
|
libr/cons/line.c
|
|
libr/cons/canvas.c
|
|
libr/cons/editor.c
|
|
libr/util/base64.c
|
|
libr/util/name.c
|
|
libr/util/stack.c
|
|
libr/util/slist.c
|
|
libr/util/log.c
|
|
libr/util/cache.c
|
|
libr/core/file.c
|
|
binr/rasm2/rasm2.c
|
|
"
|
|
case "$1" in
|
|
"help"|-h)
|
|
echo "Usage. sys/indent-whitelist.sh [commit] [apply]"
|
|
;;
|
|
"commit")
|
|
sys/indent.sh -i ${FILES}
|
|
git commit sys/indent* ${FILES}
|
|
;;
|
|
"apply")
|
|
sys/indent.sh -i ${FILES}
|
|
;;
|
|
*)
|
|
sys/indent.sh -u ${FILES}
|
|
esac
|