#508 scripts: TARGET_DIR should not have trailing slash
Merged 6 years ago by mohanboddu. Opened 6 years ago by adamwill.
adamwill/pungi-fedora target-dir-trailing  into  master

file modified
+1 -1
@@ -6,7 +6,7 @@ 

  # to the script are passed to pungi-koji directly.

  shift

  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"

  NIGHTLY=""

  SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"

file modified
+1 -1
@@ -5,7 +5,7 @@ 

  # to the script are passed to pungi-koji directly.

  shift

  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"

  NIGHTLY=""

  SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"

file modified
+1 -1
@@ -5,7 +5,7 @@ 

  export LC_ALL=C

  

  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"

  NIGHTLY="--nightly"

  SKIP_PHASES="--skip-phase=productimg"

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

Pull-Request has been merged by mohanboddu

6 years ago