#!/bin/sh## Generate credits_*.h headers from the ext/*/CREDITS and sapi/*/CREDITS files.# Go to project root directorycd $(CDPATH= cd -- "$(dirname -- "0ドル")/../../" && pwd -P)awkprog='BEGIN { FS = "\n|\r\n|\r"; RS = "" }{ print "CREDIT_LINE(\""1ドル"\", \""2ドル"\");" }'for what in ext sapidofile=ext/standard/credits_$what.hcat >$file <<END/*DO NOT EDIT THIS FILE!it has been automatically created by scripts/dev/credits fromthe information found in the various ext/.../CREDITS andsapi/.../CREDITS filesif you want to change an entry you have to edit the appropriateCREDITS file instead*/END# Do not process skeletonfiles=`find "$what" -name CREDITS | grep -v "$what"/skeleton/CREDITS`awk "$awkprog" $files | LC_ALL=C sort -f | uniq >> $fileecho "Updated $file"done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。