File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ case $# in
15
15
;;
16
16
esac
17
17
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
21
22
exit 1
22
23
fi
23
24
24
25
mkdir -p cookbook/recipes/rustpython
25
26
26
- cp " $DIR " /redox_recipe .sh cookbook/recipes/rustpython/recipe.sh
27
+ cp " $DIR " /recipe .sh cookbook/recipes/rustpython/
27
28
28
29
if ! grep -q -w rustpython filesystem.toml; then
29
30
sed -i ' s/\[packages\]/[packages]\nrustpython = {}/' filesystem.toml
Original file line number Diff line number Diff line change 1
1
GIT=https://github.com/RustPython/RustPython
2
- BRANCH=redox
3
2
CARGOFLAGS=--no-default-features
4
3
export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython/
5
4
You can’t perform that action at this time.
0 commit comments