minor update

This commit is contained in:
Blaise Tine 2024-04-17 19:26:27 -07:00
parent 95b23fa97b
commit dbe052594d
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,8 @@ install:
cp -r third_party $HOME;
echo "v0" > "$HOME/third_party/version.txt";
else
cp -r $HOME/third_party .;
rm -rf $TRAVIS_BUILD_DIR/third_party;
cp -r $HOME/third_party $TRAVIS_BUILD_DIR;
fi
before_script:

View file

@ -23,7 +23,7 @@ import re
def get_vma_size(elf_file):
try:
cmd = ['readelf', '-l', elf_file]
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
output, errors = process.communicate()
if process.returncode != 0:
print("Error running readelf: {}".format(errors.strip()))