diff --git a/pisi/util.py b/pisi/util.py index 91e30fce..4c9687b6 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -513,7 +513,7 @@ def strip_file(filepath, fileinfo, outpath): run_strip(filepath, "--strip-debug") return True - """ + """ if "SB relocatable" in fileinfo and filepath.endswith(".ko"): # kernel module if ctx.config.values.build.generatedebug: @@ -521,9 +521,9 @@ def strip_file(filepath, fileinfo, outpath): save_elf_debug(filepath, outpath) run_strip(filepath, "--strip-debug") return True - """ + """ - if "SB executable" in fileinfo: + elif "SB executable" in fileinfo: if ctx.config.values.build.generatedebug: check_dir(os.path.dirname(outpath)) save_elf_debug(filepath, outpath)