File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ USER root
1616# Create dirs and copy scripts
1717RUN mkdir --parents "${SCRIPT_DIR}"
1818COPY scripts/ "${SCRIPT_DIR}" /
19- COPY py-utils/ "${BIN_DIR }" /
19+ COPY py-utils/ "${SCRIPT_DIR }" /
2020
2121# Set up user and work directories
2222RUN chown --recursive "${userid}" :"${groupid}" "${ROOT_DIR}" && chmod --recursive u+srw "${ROOT_DIR}"
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ _setup_jdk8() {
2525 --header ' Accept: application/vnd.github+json' \
2626 --header ' X-GitHub-Api-Version: 2022-11-28' \
2727 https://api.github.com/repos/adoptium/temurin8-binaries/releases/latest \
28- | tr --delete ' \n' | json_arg_parser.py " tag_name" )
28+ | tr --delete ' \n' | " ${SCRIPT_DIR} " / json_arg_parser.py " tag_name" )
2929 jdk_name=OpenJDK8U-jdk_x64_linux_hotspot_$( tr --delete ' -' <<< " ${jdk_tag//jdk/}" ) .tar.gz
3030 mkdir --parents " ${jdk_dir} "
3131 curl_cmd --remote-name https://github.com/adoptium/temurin8-binaries/releases/download/" ${jdk_tag} " /" ${jdk_name} " --output-dir " ${jdk_dir} "
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ _sync() {
1818 find " ${ROM_DIR} " /.repo/local_manifests/ -type f -exec rm {} \;
1919 if [[ -n " ${LOCAL_MANIFEST} " ]]; then
2020 # Merge local manifests into one to avoid conflicts with duplicate dependencies
21- xml_manifest_gen.py " ${LOCAL_MANIFEST} " > " ${ROM_DIR} " /.repo/local_manifests/manifest.xml
21+ " ${SCRIPT_DIR} " / xml_manifest_gen.py " ${LOCAL_MANIFEST} " > " ${ROM_DIR} " /.repo/local_manifests/manifest.xml
2222 elif [[ -z " ${CLONE_REPOS} " ]]; then
2323 # Generate vendor manifest, so that official lineage just builds
24- xml_roomservice.py " ${DEVICE} " " ${ROM_BRANCH} " > " ${ROM_DIR} " /.repo/local_manifests/manifest.xml
24+ " ${SCRIPT_DIR} " / xml_roomservice.py " ${DEVICE} " " ${ROM_BRANCH} " > " ${ROM_DIR} " /.repo/local_manifests/manifest.xml
2525 fi
2626 local threads
2727 threads=$( nproc)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ _upload_gh() {
3636 --header ' content-type: application/json' \
3737 https://api.github.com/repos/" ${release_repo} " /releases \
3838 --data " { \" tag_name\" : \" ${tag} \" , \" body\" : \" ${desc} \" }" \
39- | tr --delete ' \n' | json_arg_parser.py " upload_url" \
39+ | tr --delete ' \n' | " ${SCRIPT_DIR} " / json_arg_parser.py " upload_url" \
4040 | cut --delimiter=' {' --fields=1)
4141
4242 # Upload ROM
@@ -47,7 +47,7 @@ _upload_gh() {
4747 --header " Content-Type: $( file -b --mime-type " ${OUT} " /" ${PACKAGE_NAME} " ) " \
4848 --upload-file " ${OUT} " /" ${PACKAGE_NAME} " \
4949 " ${upload_url} " ? name=" ${PACKAGE_NAME} " \
50- | tr --delete ' \n' | json_arg_parser.py " browser_download_url" )
50+ | tr --delete ' \n' | " ${SCRIPT_DIR} " / json_arg_parser.py " browser_download_url" )
5151
5252 # Upload Recovery
5353 curl_cmd \
You can’t perform that action at this time.
0 commit comments