aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Florian La Roche <F.LaRoche@pilz.de>2018-06-05 15:47:45 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-05 18:50:49 +0200
commit903b8446a8db2aff042cdefd398d3598023bed0c (patch)
tree84daec795deb3afdca70df423683c68a37179978 /system
parent13dbe73782c3555b382ea8ebd9cda34ac9ef5744 (diff)
downloadbuildroot-903b8446a8db2aff042cdefd398d3598023bed0c.tar.gz
buildroot-903b8446a8db2aff042cdefd398d3598023bed0c.tar.bz2
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 <F.LaRoche@pilz.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'system')
-rw-r--r--system/skeleton/etc/profile4
1 files changed, 2 insertions, 2 deletions
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