Skip to content

Commit

Permalink
debs-tar-builder.sh doesn't use rlocation for obtaining its path info
Browse files Browse the repository at this point in the history
  • Loading branch information
0405ysj committed Aug 12, 2024
1 parent 32a71aa commit bb533c5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docker/debs-builder-docker/debs-tar-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,9 @@ while getopts ":ho:" opt; do
esac
done

rlocation_base="_main"

if [[ $(runfiles_current_repository) ]]; then
rlocation_base="_main/external/$(runfiles_current_repository)"
fi

debs_out_dir="${PWD}/debs"
rlocation="$(rlocation ${rlocation_base}/docker/debs-builder-docker/debs-tar-builder.sh)"
repo_root_dir=$(dirname $(dirname $(dirname $(readlink ${rlocation}))))
debs_tar_builder_path="${PWD}/docker/debs-builder-docker/debs-tar-builder.sh"
repo_root_dir=$(dirname $(readlink $(dirname $(dirname $(readlink ${debs_tar_builder_path})))))

pushd ${repo_root_dir}/docker/debs-builder-docker
./main.sh -o ${debs_out_dir} --repo_dir ${repo_root_dir}
Expand Down

0 comments on commit bb533c5

Please sign in to comment.