index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2015-01-27 00:45:47 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-02-01 21:20:08 +1000 |
commit | 7885931c969e781b732dfaea32e1fd166a3eb420 (patch) | |
tree | 906e7d0f2c7c3c91a5da070cd20bc0adc6c5de2f /scripts/makepkg.sh.in | |
parent | 9917930ae1f02fdf85c1ca2a35ee039f1a17368f (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 29 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 40913c5e..9a3e9eb5 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -100,31 +100,10 @@ shopt -s extglob ### SUBROUTINES ### -plain() { - local mesg=$1; shift - printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -msg() { - local mesg=$1; shift - printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -msg2() { - local mesg=$1; shift - printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -warning() { - local mesg=$1; shift - printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - -error() { - local mesg=$1; shift - printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 -} - +# Import libmakepkg +for lib in "$LIBRARY"/*.sh; do + source "$lib" +done ## # Special exit call for traps, Don't print any error messages when inside, |