i think the bak is usesless

This commit is contained in:
Nathan authored and GitHub committed 2022-11-18 16:40:44 -05:00
1 parent a37c276b2d
commit 9813fb1f80
1 file changed
+1 -2
+1 -2
View File
@@ -681,8 +681,7 @@ if [ ! -f boot-"$deviceid"/ibot.img4 ]; then
if [ "$os" = 'Linux' ]; then
sed -i 's/\/\kernelcache/\/\kernelcachd/g' ibot.patched
else
LC_ALL=C sed -i.bak -e 's/s\/\kernelcache/s\/\kernelcachd/g' ibot.patched
rm *.bak
LC_ALL=C sed -i -e 's/s\/\kernelcache/s\/\kernelcachd/g' ibot.patched
fi
cd ..
"$dir"/img4 -i work/iBSS.patched -o boot-"$deviceid"/iBSS.img4 -M work/IM4M -A -T ibss