Code Review
/
releng
/
builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
c66b96c
)
Merge "Simplify variable to 1 line"
author
Anil Belur
<abelur@linuxfoundation.org>
Mon, 6 Mar 2017 05:38:39 +0000
(
05:38
+0000)
committer
Gerrit Code Review
<gerrit@opendaylight.org>
Mon, 6 Mar 2017 05:38:39 +0000
(
05:38
+0000)
scripts/check-unicode.sh
patch
|
blob
|
history
diff --git
a/scripts/check-unicode.sh
b/scripts/check-unicode.sh
index cb0af7215361776612e8cc117f34cb0491c3322f..ab20a3ec3a640d77d4f1ee60940b2730d2463143 100755
(executable)
--- a/
scripts/check-unicode.sh
+++ b/
scripts/check-unicode.sh
@@
-13,10
+13,7
@@
# Thanh Ha (The Linux Foundation) - Initial implementation
##############################################################################
-directory="."
-if [ ! -z "$1" ]; then
- directory="$1"
-fi
+directory=${1:-"."}
echo "Scanning $directory"
while IFS= read -r -d '' x