]> Kevux Git Server - fll/commitdiff
Update: allow multiple modes to be specified in the package.sh script
authorKevin Day <thekevinday@gmail.com>
Mon, 8 Jun 2020 04:41:05 +0000 (23:41 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 8 Jun 2020 04:41:05 +0000 (23:41 -0500)
build/scripts/package.sh

index b74d023437843e7413a985a8f4f8ba7fb89dd14a..df6b7881bd11714c1c12f096772d367b7ba59e13 100644 (file)
@@ -63,15 +63,9 @@ package_main() {
           grab_next=path_destination
         elif [[ $p == "-i" || $p == "--individual" ]] ; then
           mode_individual="yes"
-          mode_level=
-          mode_monolithic=
         elif [[ $p == "-l" || $p == "--level" ]] ; then
-          mode_individual=
           mode_level="yes"
-          mode_monolithic=
         elif [[ $p == "-m" || $p == "--monolithic" ]] ; then
-          mode_individual=
-          mode_level=
           mode_monolithic="yes"
         elif [[ $p == "-p" || $p == "--program" ]] ; then
           mode_program="yes"