This commit is contained in:
topjohnwu 2021-02-20 02:49:31 -08:00
parent e836caf31e
commit 9cc91b30b3
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ mount_apex() {
if [ -f $APEX/apex_manifest.json ]; then if [ -f $APEX/apex_manifest.json ]; then
DEST=/apex/$(sed -n $PATTERN $APEX/apex_manifest.json) DEST=/apex/$(sed -n $PATTERN $APEX/apex_manifest.json)
elif [ -f $APEX/apex_manifest.pb ]; then elif [ -f $APEX/apex_manifest.pb ]; then
DEST=/apex/$(strings apex_manifest.pb | head -n 1) DEST=/apex/$(strings $APEX/apex_manifest.pb | head -n 1)
else else
continue continue
fi fi