[scripts] replace "source /etc/profile" with more POSIX-friendly ". /etc/profile"
This commit is contained in:
parent
af53d90d23
commit
d97edac969
@ -8,7 +8,8 @@
|
||||
#
|
||||
# This script requires isohybrid (which comes from syslinux package)
|
||||
|
||||
/usr/sbin/env-update && source /etc/profile
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
echo
|
||||
echo "Spawning isohybrid for:"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/sbin/env-update
|
||||
source /etc/profile
|
||||
. /etc/profile
|
||||
|
||||
# Path to molecules.git dir
|
||||
SABAYON_MOLECULE_HOME="${SABAYON_MOLECULE_HOME:-/sabayon}"
|
||||
|
@ -4,7 +4,8 @@ echo
|
||||
echo "Configuring AMI chroot"
|
||||
echo
|
||||
|
||||
/usr/sbin/env-update && source /etc/profile
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
# setup networking, make sure networkmanager is gone
|
||||
rc-update del networkmanager default &> /dev/null
|
||||
|
@ -19,8 +19,8 @@ rm -rf /root
|
||||
cp /etc/skel /root -Rap
|
||||
chown root:root /root -R
|
||||
|
||||
source /etc/profile
|
||||
/usr/sbin/env-update && source /etc/profile
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
# Setup locale to en_US
|
||||
echo LANG=\"en_US.UTF-8\" > /etc/env.d/02locale
|
||||
|
@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/profile
|
||||
env-update
|
||||
source /etc/profile
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
# Setup environment vars
|
||||
export ETP_NONINTERACTIVE=1
|
||||
|
Loading…
Reference in New Issue
Block a user