[olympic] Cleanup pkg-gba

This commit is contained in:
2026-04-29 01:52:59 -05:00
parent bc88333a59
commit d42e10fcbe
+4 -4
View File
@@ -1,7 +1,7 @@
#! /usr/bin/env python3
#
# Copyright 2016 - 2023 gary@drinkingtea.net
# Copyright 2016 - 2026 gary@drinkingtea.net
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -21,11 +21,11 @@ def run(args: list[str]):
if subprocess.run(args).returncode != 0:
sys.exit(1)
# get current build type
# get the current build type
with open(".current_build", "r") as f:
current_build = f.readlines()[0]
if current_build[len(current_build) - 1] == '\n':
current_build = current_build[:len(current_build) - 1]
if current_build[-1] == '\n':
current_build = current_build[:-1]
project_dir = sys.argv[1]
project_name = sys.argv[2]