File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ case $# in
1515 ;;
1616esac
1717
18- if [[ ! -d cookbook ]]; then
19- echo " You do not appear to be in a redox checkout (no 'cookbook' directory). " \
20- " Please run this script from or specify as an argument the root of your redox checkout." >&2
18+ if [[ ! -d cookbook ]] || [[ ! -f filesystem.toml ]]; then
19+ echo " You do not appear to be in a redox checkout (no 'cookbook'" \
20+ " directory or filesystem.toml file). Please run this script from or " \
21+ " specify as an argument the root of your redox checkout." >&2
2122 exit 1
2223fi
2324
2425mkdir -p cookbook/recipes/rustpython
2526
26- cp " $DIR " /redox_recipe .sh cookbook/recipes/rustpython/recipe.sh
27+ cp " $DIR " /recipe .sh cookbook/recipes/rustpython/
2728
2829if ! grep -q -w rustpython filesystem.toml; then
2930 sed -i ' s/\[packages\]/[packages]\nrustpython = {}/' filesystem.toml
Original file line number Diff line number Diff line change 11GIT=https://github.com/RustPython/RustPython
2- BRANCH=redox
32CARGOFLAGS=--no-default-features
43export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython/
54
You can’t perform that action at this time.
0 commit comments