aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-08-05 17:26:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-08-05 17:26:16 +0300
commit89356ad7d2e7007c31fa2ba0a19bdcb0db3491c3 (patch)
tree725065dca37d4048322af3805c7d4d4d25016c90 /update.sh
parentrefactoring (diff)
downloadconfig-links-89356ad7d2e7007c31fa2ba0a19bdcb0db3491c3.tar.gz
config-links-89356ad7d2e7007c31fa2ba0a19bdcb0db3491c3.zip
code style
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 0e3cf0e..782b641 100755
--- a/update.sh
+++ b/update.sh
@@ -252,7 +252,7 @@ write_database() {
}
delete_obsolete_dirs() {
- if [ $# -ne 2 ]; then
+ if [ "$#" -ne 2 ]; then
echo "usage: ${FUNCNAME[0]} BASE_DIR DIR" >&2
return 1
fi