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