Commit afecf60a authored by Guido Gunther's avatar Guido Gunther
Browse files

Drop apt_source escaping

Not needed now that we got the quoting right.
parent 0311e5e0
......@@ -230,10 +230,6 @@ fi
[ -z "${kernel_deb}" ] || echo "Using kernel ${kernel_deb}"
# Preserve newlines as '|'
# shellcheck disable=SC2001
escaped_apt_sources=$(echo "${apt_sources}" | sed 's/$/|/g')
set -x
# shellcheck disable=SC2086
sudo pureos_board="${pureos_board}" \
......@@ -246,7 +242,7 @@ sudo pureos_board="${pureos_board}" \
qemu="${qemu}" \
fdt_file="${fdt_file}" \
build_tarball="${build_tarball}" \
apt_sources="${escaped_apt_sources}" \
apt_sources="${apt_sources}" \
ci_pkgs="${ci_pkgs}" \
kernel_deb="${kernel_deb}" \
FK_MACHINE="${fk_machine}" \
......
......@@ -260,7 +260,7 @@ function install_pkgs()
function setup_apt()
{
# shellcheck disable=SC2001
echo "${apt_sources}" | sed 's/|/\n/g' > "${basedir}/etc/apt/sources.list"
echo "${apt_sources}" > "${basedir}/etc/apt/sources.list"
echo "Set sources list to:"
cat "${basedir}/etc/apt/sources.list"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment