diff options
Diffstat (limited to 'docker/vespa-ci.sh')
-rwxr-xr-x | docker/vespa-ci.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/vespa-ci.sh b/docker/vespa-ci.sh index d3d213fa87b..3e990bb2991 100755 --- a/docker/vespa-ci.sh +++ b/docker/vespa-ci.sh @@ -8,7 +8,7 @@ if [ $# -ne 1 ]; then exit 1 fi -DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) +DIR=$(dirname $(readlink -f $0)) cd $DIR GIT_COMMIT=$1 @@ -17,7 +17,7 @@ CI_DOCKER_IMAGE="vespaci" docker build -t "$BUILD_DOCKER_IMAGE" -f Dockerfile.build . -# Create a temporarily copy of the rpm spec file inside docker directory so it can be referenced by the Dockerfile +# Create a temporary copy of the rpm spec file inside docker directory so it can be referenced by the Dockerfile rm -rf tmp; mkdir tmp cp -p ../dist/vespa.spec tmp/vespa.spec |