[PPL-devel] [GIT] ppl/ppl(master): Improved.
Roberto Bagnara
roberto.bagnara at bugseng.com
Thu Jan 1 11:17:54 CET 2015
Module: ppl/ppl
Branch: master
Commit: e7ffebb0ea621ba9c90f961ab93239f2098b106a
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=e7ffebb0ea621ba9c90f961ab93239f2098b106a
Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date: Thu Jan 1 11:17:39 2015 +0100
Improved.
---
devtools/bump_copyright_years | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/devtools/bump_copyright_years b/devtools/bump_copyright_years
index 7eb9a1c..dc4a511 100755
--- a/devtools/bump_copyright_years
+++ b/devtools/bump_copyright_years
@@ -2,7 +2,7 @@
temp_file=`mktemp /tmp/bump_copyright_years.XXXXXXXXXX` || exit 1
find . -type f -print0 | while read -d $'\0' file
do
- sed -e "s/Copyright (C) 2010-2015 BUGSENG srl/Copyright (C) 2010-2016 BUGSENG srl/g" <$file >$temp_file
- chmod --reference=$file $temp_file
- mv -f $temp_file $file
+ sed -e "s/Copyright (C) 2010-2015 BUGSENG srl/Copyright (C) 2010-2016 BUGSENG srl/g" <"${file}" >"${temp_file}"
+ chmod --reference="${file}" "${temp_file}"
+ mv -f "${temp_file}" "${file}"
done
More information about the PPL-devel
mailing list