Skip to content

Commit

Permalink
Update diy-part2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lauren12133 authored Jun 17, 2024
1 parent bed6031 commit 47abf95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diy-part2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ sed -i 's/os.date()/os.date("%a %Y-%m-%d %H:%M:%S")/g' package/lean/autocore/fil
# 修改版本为编译日期
date_version=$(date +"%y.%m.%d")
orig_version=$(cat "package/lean/default-settings/files/zzz-default-settings" | grep DISTRIB_REVISION= | awk -F "'" '{print $2}')
sed -i "s/${orig_version}/R${date_version} by EircoD/g" package/lean/default-settings/files/zzz-default-settings
sed -i "s/${orig_version}/R${date_version} by Cca/g" package/lean/default-settings/files/zzz-default-settings

0 comments on commit 47abf95

Please sign in to comment.