mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
19 lines
258 B
Bash
Executable File
19 lines
258 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
if [ -z "$1" ]
|
|
then
|
|
echo "$0: no argument provided"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "cookbook/recipes/$1" ]
|
|
then
|
|
echo "$0: $1 is not a recipe"
|
|
exit 1
|
|
fi
|
|
|
|
rm -rfv "cookbook/recipes/$1/"{source,source.tar,target}
|
|
make "r.$1"
|