diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-13 22:06:01 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-13 22:06:01 +0300 |
commit | 5e2ebda430569624c5f34115ca8e45a1633dd3cf (patch) | |
tree | c050162fa4913dde4ab3cad8f0ed1a99b8dea178 /.bashrc_netwrix | |
parent | add ensure_symlinks_enabled (diff) | |
download | linux-home-5e2ebda430569624c5f34115ca8e45a1633dd3cf.tar.gz linux-home-5e2ebda430569624c5f34115ca8e45a1633dd3cf.zip |
split .bashrc into multiple files
Diffstat (limited to '')
-rw-r--r-- | .bashrc_netwrix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.bashrc_netwrix b/.bashrc_netwrix new file mode 100644 index 0000000..0a8a2a4 --- /dev/null +++ b/.bashrc_netwrix @@ -0,0 +1,18 @@ +nwx_host=172.28.10.2 +nwx_dev2=172.28.19.60 +nwx_dev3=172.28.19.61 + +lint_webapi() ( + set -o errexit + + local root_dir='/cygdrive/c/Netwrix Auditor/CurrentVersion-AuditCore-Dev/AuditCore/Sources' + + cd "$root_dir/Configuration" + doslint WebAPI*.acinc WebAPI*.acconf + + cd "$root_dir/Subsystems/PublicAPI" + local path + find . -type f -\( -iname '*.cpp' -o -iname '*.h' -\) | while read -r path ; do + doslint "$path" + done +) |