2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

puke: remove pointless function.

This commit is contained in:
Dylan Araps 2019-05-14 23:39:28 +03:00
parent 364a963b3d
commit 2aa5c50c04

6
puke
View File

@ -11,10 +11,6 @@ log() {
printf '\033[32m=>\033[m %s\n' "$@"
}
clean() {
rm -rf -- "$mak_dir" "$pkg_dir"
}
source_type() {
[ -f "$1" ] && return 2
[ -f "$src_dir/${1##*/}" ] && return 3
@ -194,7 +190,7 @@ args() {
}
main() {
trap clean EXIT INT
trap 'rm -rf -- "$mak_dir" "$pkg_dir"' EXIT INT
src_dir=$PWD/sources
mak_dir=$PWD/build