Skip to content

Commit

Permalink
Fix codeformatting bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Nov 23, 2024
1 parent 6bfce05 commit ab5dce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/get-generic-sys-util/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def preprocess(i):
if isinstance(package_name, str):
package_name = package_name.replace("<<<" + tmp_value + ">>>", str(env[tmp_value]))

install_cmd = env.get('CM_HOST_OS_PACKAGE_MANAGER_INSTALL_CMD')
if not install_cmd:
install_cmd = env.get('CM_HOST_OS_PACKAGE_MANAGER_INSTALL_CMD')
if not install_cmd:
return {
'return': 1, 'error': 'Package manager installation command not detected for the given OS'}

Expand Down

0 comments on commit ab5dce0

Please sign in to comment.