From 739da01da1b15e3a1011ccbeb0e7fb4dde7303ee Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Mar 2019 04:11:59 -0400 Subject: opkbuild, ob-*: Drop call to main() shld already calls main(), so this extra call causes main() to run a second time if it returns the first time. --- diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh index bd2a145..c70d912 100644 --- a/src/ob-applypatches.sh +++ b/src/ob-applypatches.sh @@ -67,5 +67,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-buildenv.sh b/src/ob-buildenv.sh index b0ef5bb..dd392a9 100644 --- a/src/ob-buildenv.sh +++ b/src/ob-buildenv.sh @@ -101,5 +101,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh index 9bba30c..7f117ea 100644 --- a/src/ob-buildopk.sh +++ b/src/ob-buildopk.sh @@ -64,5 +64,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh index b5acd85..832926a 100644 --- a/src/ob-checkbuilddeps.sh +++ b/src/ob-checkbuilddeps.sh @@ -96,5 +96,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh index 41ebaa9..722d009 100644 --- a/src/ob-genchanges.sh +++ b/src/ob-genchanges.sh @@ -115,5 +115,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 36f1980..2bb0d9b 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -197,5 +197,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh index 999aeee..475fbff 100644 --- a/src/ob-installdocs.sh +++ b/src/ob-installdocs.sh @@ -112,5 +112,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh index 74293df..901a7cd 100644 --- a/src/ob-installplatconf.sh +++ b/src/ob-installplatconf.sh @@ -101,5 +101,3 @@ main() return 0 } - -main "${@}" diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh index 47362dd..780d2ac 100644 --- a/src/ob-unpacksource.sh +++ b/src/ob-unpacksource.sh @@ -155,5 +155,3 @@ main() return 0 } - -main "${@}" diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 43e338d..71a898b 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -414,5 +414,3 @@ main() return 0 } - -main "${@}" -- cgit v0.9.1