Skip to content

Commit cfd0d05

Browse files
committed
Switch redox recipe to master branch
1 parent 894e42f commit cfd0d05

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

redox/install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ case $# in
1515
;;
1616
esac
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
2223
fi
2324

2425
mkdir -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

2829
if ! grep -q -w rustpython filesystem.toml; then
2930
sed -i 's/\[packages\]/[packages]\nrustpython = {}/' filesystem.toml

redox/recipe.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
GIT=https://github.com/RustPython/RustPython
2-
BRANCH=redox
32
CARGOFLAGS=--no-default-features
43
export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython/
54

0 commit comments

Comments
 (0)