From: Florian La Roche Date: Tue, 5 Jun 2018 13:47:45 +0000 (+0200) Subject: skeleton: PAGER without blank and unset at end of for loop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=903b8446a8db2aff042cdefd398d3598023bed0c;p=buildroot.git skeleton: PAGER without blank and unset at end of for loop The PAGER environment variable is including a blank character at the end. Remove this. A for loop has been unsetting the variable inside the loop, this is only needed once at the end of the loop. Signed-off-by: Florian La Roche Signed-off-by: Thomas Petazzoni --- diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile index 3a97427fdf..1255d23ff4 100644 --- a/system/skeleton/etc/profile +++ b/system/skeleton/etc/profile @@ -8,7 +8,7 @@ if [ "$PS1" ]; then fi fi -export PAGER='/bin/more ' +export PAGER='/bin/more' export EDITOR='/bin/vi' # Source configuration files from /etc/profile.d @@ -16,5 +16,5 @@ for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi - unset i done +unset i