mirror of
https://github.com/orhun/systeroid
synced 2024-09-30 04:33:31 +00:00
style(script): format the scripts
This commit is contained in:
parent
62fa582e40
commit
fed4fad7e0
|
@ -11,7 +11,7 @@ git init
|
|||
git remote add origin "$kernel_repo"
|
||||
git config core.sparseCheckout true
|
||||
for path in "${sparse_path[@]}"; do
|
||||
echo "$path" >> .git/info/sparse-checkout
|
||||
echo "$path" >>.git/info/sparse-checkout
|
||||
done
|
||||
git pull --depth 1 origin master
|
||||
mv $docs_dir/Documentation/* "$docs_dir"
|
||||
|
|
|
@ -10,9 +10,15 @@ tagger_name="systeroid project"
|
|||
tagger_email="systeroid@protonmail.com"
|
||||
signing_key="03598A29AA9D297B8D6D94F1EBEB8A69FDA3720E"
|
||||
|
||||
usage() { printf "usage: %s <tag>\n" "${BASH_SOURCE[0]##*/}"; exit 0; }
|
||||
usage() {
|
||||
printf "usage: %s <tag>\n" "${BASH_SOURCE[0]##*/}"
|
||||
exit 0
|
||||
}
|
||||
|
||||
bail() { printf "error: %s\n" "$1" "${@:2}"; exit 1; }
|
||||
bail() {
|
||||
printf "error: %s\n" "$1" "${@:2}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
tag=$1
|
||||
[ -z "$tag" ] && usage
|
||||
|
|
Loading…
Reference in a new issue