Skip to content

Commit

Permalink
entrypoint: don't use absolute path
Browse files Browse the repository at this point in the history
The base path of the imagebuilder may change. Just use whatever is set
in WORKDIR of the Dockerfile.

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Apr 15, 2023
1 parent 74b0fee commit 498e394
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ set -ef
FEEDNAME="${FEEDNAME:-action}"
BUILD_LOG="${BUILD_LOG:-1}"

cd /home/build/openwrt/

if [ -n "$KEY_BUILD" ]; then
echo "$KEY_BUILD" > key-build
SIGNED_PACKAGES="y"
Expand Down

0 comments on commit 498e394

Please sign in to comment.