1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

B OpenNebula/one#6306: change SED variable initialization (#2711)

(cherry picked from commit 8ae7512350018a17e04b7e7c4c74f5e9b22fc447)
This commit is contained in:
Victor Palma 2023-08-31 11:32:23 +02:00 committed by Tino Vázquez
parent ccef45de56
commit d99f161dc0

View File

@ -45,7 +45,7 @@ RBD=${RBD:-rbd}
READLINK=${READLINK:-readlink}
RM=${RM:-rm}
CP=${CP:-cp}
SED=${SED:-sed}
SED=${SED:-sed -r}
SSH=${SSH:-ssh}
SSH_FWD=${SSH_FWD:-ssh -o ForwardAgent=yes -o ControlMaster=no -o ControlPath=none}
SUDO=${SUDO:-sudo -n}
@ -59,12 +59,6 @@ VGDISPLAY=${VGDISPLAY:-vgdisplay}
VMKFSTOOLS=${VMKFSTOOLS:-vmkfstools}
WGET=${WGET:-wget}
if [ "x$(uname -s)" = "xLinux" ]; then
SED="$SED -r"
else
SED="/usr/bin/sed -E"
fi
# Used for log messages
SCRIPT_NAME=`basename -- $0`