update_unicode.sh: remove an unnecessary subshell level

After the move into contrib/update-unicode, we no longer create the
unicode directory to have a clean working folder. Instead, the directory
of the script is used. This means that the subshell can be removed.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Beat Bolli 2016-12-14 00:31:40 +01:00 committed by Junio C Hamano
parent f3eb54920e
commit b79e28e370

View File

@ -7,7 +7,7 @@
#
cd "$(dirname "$0")"
UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode_width.h
(
if ! test -f UnicodeData.txt; then
wget http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt
fi &&
@ -35,4 +35,3 @@ UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode_width.h
$(uniset/uniset --32 eaw:F,W)
};
EOF
)