mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-05 21:28:00 +08:00
12 lines
129 B
Bash
Executable File
12 lines
129 B
Bash
Executable File
#!/bin/sh
|
|
echo "update config.h"
|
|
if [ ! -f $2 ];then
|
|
mv -f $1 $2
|
|
else
|
|
diff $1 $2
|
|
if [ $? -eq 1 ];then
|
|
mv -f $1 $2
|
|
fi
|
|
fi
|
|
rm -f $1
|