mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
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> (cherry picked from commit 903b8446a8db2aff042cdefd398d3598023bed0c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a765cfb34d
commit
8c751db361
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user