From 4af1209a3383a33dd2229a9ad19c73c151415e7a Mon Sep 17 00:00:00 2001 From: mudler Date: Wed, 24 Feb 2016 14:47:25 +0100 Subject: [PATCH] fix OUTPUT_DIR instead WORKSPACE --- sabayon-createrepo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sabayon-createrepo b/sabayon-createrepo index e3eaf4d..21c73c5 100755 --- a/sabayon-createrepo +++ b/sabayon-createrepo @@ -99,7 +99,7 @@ echo "docker run --rm --entrypoint /bin/bash ${docker_env[@]} ${docker_volumes[@ docker run --rm --entrypoint /bin/bash "${docker_env[@]}" "${docker_volumes[@]}" -ti $DOCKER_IMAGE /sabayon/bin/create_repo.sh || true -if [ -d "$SAB_WORKSPACE/entropy_artifacts/standard" ]; then +if [ -d "$OUTPUT_DIR/standard" ]; then echo "The Sabayon repository files are in $SAB_WORKSPACE/entropy_artifacts" echo "Now you can upload its content where you want" @@ -109,9 +109,9 @@ if [ -d "$SAB_WORKSPACE/entropy_artifacts/standard" ]; then echo " [$REPOSITORY_NAME] desc = $REPOSITORY_DESCRIPTION - repo=file://$SAB_WORKSPACE/entropy_artifacts#bz2 + repo=file://$OUTPUT_DIR#bz2 enabled = true - pkg = file://$SAB_WORKSPACE/entropy_artifacts + pkg = file://$OUTPUT_DIR " else echo "Something failed :("