diff --git a/scripts/backtrace.sh b/scripts/backtrace.sh index 2124a5d93..08fa6f1b4 100755 --- a/scripts/backtrace.sh +++ b/scripts/backtrace.sh @@ -54,7 +54,7 @@ then fi # if no command name is given, assume it's the same as the recipe name -RECIPE_DIR="$(target/release/find_recipe $RECIPE_NAME)" +RECIPE_DIR="$(target/release/repo find $RECIPE_NAME)" if [ -z "$COMMAND" ] then COMMAND="$RECIPE_NAME" diff --git a/scripts/cargo-update.sh b/scripts/cargo-update.sh index 3e359b0f1..833124003 100755 --- a/scripts/cargo-update.sh +++ b/scripts/cargo-update.sh @@ -3,7 +3,7 @@ # This script runs "make f.recipe" and "cargo update" in the specified recipe recipe_name="$1" -recipe_path=$(find recipes -name "$recipe_name" -maxdepth 4) +recipe_path=$(target/release/repo find $recipe_name) make f."$recipe_name" cd "$recipe_path"/source diff --git a/scripts/changelog.sh b/scripts/changelog.sh index 569812126..0fabd60ba 100755 --- a/scripts/changelog.sh +++ b/scripts/changelog.sh @@ -24,14 +24,14 @@ fi for package in $(installer/target/release/redox_installer --list-packages -c config/$(uname -m)/desktop.toml) do - package_source="$(target/release/find_recipe ${package})" + package_source="$(target/release/repo find ${package})" REPOS+=("${package}=${package_source}/source") done # TODO: resolve dependencies instead of manually adding these initfs packages for package in init logd ramfs randd zerod do - package_source="$(target/release/find_recipe ${package})" + package_source="$(target/release/repo find ${package})" REPOS+=("${package}=${package_source}/source") done diff --git a/scripts/executables.sh b/scripts/executables.sh index 0d2f0d07c..f3d4d7c10 100755 --- a/scripts/executables.sh +++ b/scripts/executables.sh @@ -48,7 +48,7 @@ do recipe_path="recipes/$recipe" else recipe_name="$recipe" - recipe_path="$(target/release/find_recipe $recipe_name)" + recipe_path="$(target/release/repo find $recipe_name)" fi for command in $(find "$recipe_path/target/$target/stage/usr/bin" -type f 2> /dev/null) \ diff --git a/scripts/print-recipe.sh b/scripts/print-recipe.sh index e35d959d5..43312b056 100755 --- a/scripts/print-recipe.sh +++ b/scripts/print-recipe.sh @@ -2,4 +2,4 @@ # This script print the recipe configuration -cat $(target/release/find_recipe "$1")/recipe.* +cat $(target/release/repo find "$1")/recipe.*