cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit 9e64165ec164d36e42b2963cda6fd126240a3e92
parent 175cc020a8254f9cbcec3cdbe7552b6eacb8bbf5
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon,  9 Nov 2020 16:21:18 +0300

cpt-lib: don't make main() a function unto itself

Diffstat:
Msrc/cpt-lib | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/cpt-lib b/src/cpt-lib @@ -1774,7 +1774,8 @@ create_cache() { } -main() { +# main() +{ set -ef # If a parser definition exists, let's run it ourselves. This makes sure we @@ -1875,5 +1876,3 @@ main() { fi } - -main "$@"