[scripts] fix syntax error in remaster_post_common.sh

This commit is contained in:
Fabio Erculiani 2011-04-08 14:40:47 +02:00
parent 27a3c01bac
commit dcd59a83f0

View File

@ -2,7 +2,7 @@
# BUILDING_DAILY is set in scripts/daily_iso_build.sh # BUILDING_DAILY is set in scripts/daily_iso_build.sh
if [ -z "${BUILDING_DAILY}" ]; then if [ -z "${BUILDING_DAILY}" ]; then
# only the first occurence # only the first occurence
local repo_conf="${CHROOT_DIR}/etc/entropy/repositories.conf" repo_conf="${CHROOT_DIR}/etc/entropy/repositories.conf"
sed -i "/^repository =/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1 sed -i "/^repository =/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
sed -i "/^officialrepositoryid/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1 sed -i "/^officialrepositoryid/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
sed -i "/^official-repository-id/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1 sed -i "/^official-repository-id/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1