mirror of
https://github.com/ovh/php-ovh.git
synced 2023-11-05 03:20:26 +01:00
update copyrights to 2017
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
This commit is contained in:
parent
ed5207be27
commit
2bf008605c
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2013-2015, OVH SAS.
|
||||
Copyright (c) 2013-2017, OVH SAS.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
14
scripts/update-copyright.sh
Executable file
14
scripts/update-copyright.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Usage: ./scripts/update-copyright.sh
|
||||
#
|
||||
|
||||
PCRE_MATCH_COPYRIGHT="Copyright \(c\) 2013-[0-9]{4}, OVH SAS."
|
||||
PCRE_MATCH_DEBIAN="Copyright: [-0-9]* OVH SAS"
|
||||
YEAR=$(date +%Y)
|
||||
|
||||
echo -n "Updating copyright headers to ${YEAR}... "
|
||||
grep -rPl "${PCRE_MATCH_COPYRIGHT}" | xargs sed -ri "s/${PCRE_MATCH_COPYRIGHT}/Copyright (c) 2013-${YEAR}, OVH SAS./g"
|
||||
grep -rPl "${PCRE_MATCH_DEBIAN}" | xargs sed -ri "s/${PCRE_MATCH_DEBIAN}/Copyright: 2013-${YEAR} OVH SAS/g"
|
||||
echo "[OK]"
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2016, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# Copyright (c) 2013-2014, OVH SAS.
|
||||
# Copyright (c) 2013-2017, OVH SAS.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
Loading…
Reference in New Issue
Block a user