瀏覽代碼

maint: try to avoid unwanted chatter in ChangeLog

* bootstrap.conf: Do not alter ChangeLog if it already exists.
Jim Meyering 12 年之前
父節點
當前提交
099f71f78d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bootstrap.conf

+ 1 - 1
bootstrap.conf

@@ -68,7 +68,7 @@ fi
 test -d m4 || mkdir m4
 test -d m4 || mkdir m4
 test -d $source_base || mkdir $source_base
 test -d $source_base || mkdir $source_base
 
 
-cat > ChangeLog <<EOT
+test -f ChangeLog || cat > ChangeLog <<EOT
 This file is a placeholder. It will be replaced with the actual ChangeLog
 This file is a placeholder. It will be replaced with the actual ChangeLog
 by make dist.  Run make ChangeLog if you wish to create it earlier.
 by make dist.  Run make ChangeLog if you wish to create it earlier.
 EOT
 EOT