Эх сурвалжийг харах

Move that fix a little further down so it applies always regardless

Tianon Gravi 9 жил өмнө
parent
commit
eb31296984
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      test-pr.sh

+ 2 - 2
test-pr.sh

@@ -98,8 +98,6 @@ else
 	trap "rm -rf '$dir'" EXIT
 	cd "$dir"
 
-	export BASHBREW_LIBRARY="$dir/library"
-
 	# TODO we only have "git version 2.4.1" which doesn't support "clone -q" :(
 	git init -q .
 	git remote add origin https://github.com/docker-library/official-images.git
@@ -113,6 +111,8 @@ else
 	commit="$(git log -1 --format=format:%h "pr-$pull")"
 fi
 
+export BASHBREW_LIBRARY="$PWD/library"
+
 if [ "$#" -eq 0 ]; then
 	IFS=$'\n'
 	files=( $(git diff --name-only origin/master...HEAD -- library | xargs -n1 basename) )