mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 00:20:09 -07:00
puke: remove pointless function.
This commit is contained in:
parent
364a963b3d
commit
2aa5c50c04
6
puke
6
puke
@ -11,10 +11,6 @@ log() {
|
|||||||
printf '\033[32m=>\033[m %s\n' "$@"
|
printf '\033[32m=>\033[m %s\n' "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
|
||||||
rm -rf -- "$mak_dir" "$pkg_dir"
|
|
||||||
}
|
|
||||||
|
|
||||||
source_type() {
|
source_type() {
|
||||||
[ -f "$1" ] && return 2
|
[ -f "$1" ] && return 2
|
||||||
[ -f "$src_dir/${1##*/}" ] && return 3
|
[ -f "$src_dir/${1##*/}" ] && return 3
|
||||||
@ -194,7 +190,7 @@ args() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
trap clean EXIT INT
|
trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT
|
||||||
|
|
||||||
src_dir=$PWD/sources
|
src_dir=$PWD/sources
|
||||||
mak_dir=$PWD/build
|
mak_dir=$PWD/build
|
||||||
|
Loading…
Reference in New Issue
Block a user