mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
15 lines
240 B
Bash
Executable File
15 lines
240 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ $# -ne 1 ]
|
|
then
|
|
echo "Usage: $0 recipe_name"
|
|
echo " Print the commit hash for recipe_name"
|
|
exit 1
|
|
fi
|
|
|
|
cd cookbook
|
|
recipe_path="$(target/release/find_recipe $1)"
|
|
|
|
cd "$recipe_path"/source
|
|
git branch -v
|