Skip to content

Commit

Permalink
Update merge.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Feb 17, 2025
1 parent 4cabc78 commit 24a34c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trunk/install/merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ do
if [[ $KEY =~ "LOG" ]] ; then continue; fi
VALUE=$( echo "$VALUE" | sed 's|"|\\"|g' )
# echo $VALUE
echo -e 's|\'$KEY'=.*;|\'$KEY'='$VALUE';|' >> merge.sed
if [ -n "$VALUE" ]; then
echo -e 's|\'$KEY'=.*;|\'$KEY'='$VALUE';|' >> merge.sed
fi
fi
done
sed -i -f merge.sed $NEW
Expand Down

0 comments on commit 24a34c3

Please sign in to comment.