diff options
author | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-02-13 11:33:32 +0100 |
---|---|---|
committer | Vincent Knecht <vincent.knecht@mailoo.org> | 2016-02-13 11:33:32 +0100 |
commit | 8ff1a20fef99593f37c82382fe5c29af91638328 (patch) | |
tree | 437d00a5b5f9dc3f72914e91bba885e1809b8633 | |
parent | 18e5215871dd0e86adc7f34ad21044740d6f9645 (diff) | |
download | rpi2-gen-image-8ff1a20fef99593f37c82382fe5c29af91638328.tar.gz rpi2-gen-image-8ff1a20fef99593f37c82382fe5c29af91638328.tar.bz2 rpi2-gen-image-8ff1a20fef99593f37c82382fe5c29af91638328.zip |
Fixed DEFLOCAL shell var substitution while sed-ing /etc/locale.gen
-rwxr-xr-x | rpi2-gen-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh index c6bef8a..3c80bf3 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -220,7 +220,7 @@ LANG=C chroot $R dpkg-reconfigure -f noninteractive tzdata # Set up default locales to "en_US.UTF-8" default if [ "$ENABLE_MINBASE" = false ] ; then - LANG=C chroot $R sed -i '/${DEFLOCAL}/s/^#//' /etc/locale.gen + LANG=C chroot $R sed -i "/${DEFLOCAL}/s/^#//" /etc/locale.gen LANG=C chroot $R locale-gen ${DEFLOCAL} fi |