aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.bashrc_netwrix
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-13 23:50:48 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-13 23:50:48 +0200
commit8fec942ab9913a38423a4cfea37d29ea304ddd0e (patch)
tree5a7ea2c281ee34840ce6d4db5232707ff004f464 /.bashrc_netwrix
parentfix ShellCheck warnings (diff)
downloadlinux-home-8fec942ab9913a38423a4cfea37d29ea304ddd0e.tar.gz
linux-home-8fec942ab9913a38423a4cfea37d29ea304ddd0e.zip
code style
Diffstat (limited to '')
-rw-r--r--.bashrc_netwrix24
1 files changed, 12 insertions, 12 deletions
diff --git a/.bashrc_netwrix b/.bashrc_netwrix
index 5b6211a..6372a89 100644
--- a/.bashrc_netwrix
+++ b/.bashrc_netwrix
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
if [ -n "${BASHRC_NETWRIX+x}" ]; then
- return 0
+ return 0
else
- readonly BASHRC_NETWRIX=1
+ readonly BASHRC_NETWRIX=1
fi
source .bashrc_git || return
@@ -14,20 +14,20 @@ export nwx_dev2=172.28.19.60
export nwx_dev3=172.28.19.61
lint_webapi() (
- set -o errexit
+ set -o errexit
- local root_dir='/cygdrive/c/Netwrix Auditor/CurrentVersion-AuditCore-Dev/AuditCore/Sources'
+ local root_dir='/cygdrive/c/Netwrix Auditor/CurrentVersion-AuditCore-Dev/AuditCore/Sources'
- cd "$root_dir/Configuration"
- doslint WebAPI*.acinc WebAPI*.acconf
+ 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
+ cd "$root_dir/Subsystems/PublicAPI"
+ local path
+ find . -type f -\( -iname '*.cpp' -o -iname '*.h' -\) | while read -r path; do
+ doslint "$path"
+ done
)
backup_repo_nwx() {
- backup_repo '//spbfs02/P/Personal/Egor Tensin'
+ backup_repo '//spbfs02/P/Personal/Egor Tensin'
}