Files
zhuoli 140315895f 1. Re-initialize linux porting dir.
2. Add BUILD.gn and its components

Signed-off-by: zhuoli <pengzhuoli@huawei.com>
2021-07-07 14:18:53 +08:00

13 lines
190 B
Bash
Executable File

#!/usr/bin/env sh
if [ $# -ne 2 ]; then
echo "$0 need 2 parameters, but the actual number is $#, please check!"
exit 1
fi
rm -f $2
cp $1 $2
sed -n -e s/__NR_/SYS_/p < $1 >> $2