File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
chapter-11/recipe-02/cxx-example Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ variables:
54
54
name : Testing Conda recipes
55
55
shell : /bin/bash
56
56
command : |
57
+ export PATH=/opt/conda/bin:$PATH
57
58
pipenv run python testing/collect_tests.py 'chapter-11/recipe-04' &&
58
59
pipenv run python testing/collect_tests.py 'chapter-11/recipe-05'
59
60
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ if [ $# -eq 0 ] ; then
7
7
exit 1
8
8
fi
9
9
10
+ # Remove symlinks
11
+ find " $PWD " -type l -exec sh -c '
12
+ file=$(basename "$1")
13
+ directory=${1%/*}
14
+ (cd "$directory" && cp --remove-destination "$(readlink "$file")" "$file")' sh {} ' ;'
15
+
10
16
# build directory is provided by the main script
11
17
build_directory=" $1 "
12
18
mkdir -p " ${build_directory} "
You can’t perform that action at this time.
0 commit comments