scripts: TARGET_DIR should not have trailing slash

The TARGET_DIR values in just these few nightly scripts have
trailing slashes. They shouldn't, it'll lead to double slashes
in all the places that use TARGET_DIR as they expect it not to
have one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-01-26 14:23:31 +01:00
parent e876d4e533
commit 49ff26a3b6
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ LABEL=$1
# to the script are passed to pungi-koji directly. # to the script are passed to pungi-koji directly.
shift shift
CONFIG="fedora-cloud.conf" CONFIG="fedora-cloud.conf"
TARGET_DIR="/mnt/koji/compose/" TARGET_DIR="/mnt/koji/compose"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR" #OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="" NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo" SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"

View File

@ -5,7 +5,7 @@ LABEL=$1
# to the script are passed to pungi-koji directly. # to the script are passed to pungi-koji directly.
shift shift
CONFIG="fedora-docker.conf" CONFIG="fedora-docker.conf"
TARGET_DIR="/mnt/koji/compose/" TARGET_DIR="/mnt/koji/compose"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR" #OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="" NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo" SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"

View File

@ -5,7 +5,7 @@
export LC_ALL=C export LC_ALL=C
CONFIG="fedora-modular.conf" CONFIG="fedora-modular.conf"
TARGET_DIR="/mnt/koji/compose/" TARGET_DIR="/mnt/koji/compose"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR" #OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="--nightly" NIGHTLY="--nightly"
SKIP_PHASES="--skip-phase=productimg" SKIP_PHASES="--skip-phase=productimg"