Skip to content

Commit

Permalink
ci: sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 committed Oct 2, 2024
1 parent c43c417 commit 5e1ca75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/scripts/android-uitest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ then
fi

echo "CHANGE: vm.heapSize=$HEAP & hw.cpu.ncore=$CORES in $AVD_CONFIG_FILE"
$SED_I_CMD '/^hw.cpu.ncore/d' $AVD_CONFIG_FILE
$SED_I_CMD '/^vm.heapSize/d' $AVD_CONFIG_FILE
sed -i '' '/^hw.cpu.ncore/d' $AVD_CONFIG_FILE
sed -i '' '/^vm.heapSize/d' $AVD_CONFIG_FILE
echo "vm.heapSize=$HEAP" >> $AVD_CONFIG_FILE
echo "hw.cpu.ncore=$CORES" >> $AVD_CONFIG_FILE
cat $AVD_CONFIG_FILE | grep "hw.cpu.ncore"
Expand Down

0 comments on commit 5e1ca75

Please sign in to comment.