forked from Hopsan/hopsan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdateLicenseHeaders.sh
executable file
·28 lines (23 loc) · 1.24 KB
/
updateLicenseHeaders.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
# Shell script for updating license headers in Hopsan sub projects
# Author: Peter Nordin
set -e
set -u
DOSET='--set'
#DOSET=''
LIC_HEADER='licenseHeaderALv2'
Utilities/licenseChanger.py HopsanCore ${LIC_HEADER} ${DOSET} -e HopsanCore/dependencies
Utilities/licenseChanger.py HopsanCLI ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py HopsanRemote ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py HopsanGenerator ${LIC_HEADER} ${DOSET} -e HopsanGenerator/templates
Utilities/licenseChanger.py Ops ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py SymHop ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py componentLibraries/defaultLibrary ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py componentLibraries/exampleComponentLib ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py componentLibraries/devLibraries ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py componentLibraries/extensionLibrary ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py componentLibraries/extensionLibrary08 ${LIC_HEADER} ${DOSET}
Utilities/licenseChanger.py UnitTests ${LIC_HEADER} ${DOSET}
LIC_HEADER='licenseHeaderGPLv3'
Utilities/licenseChanger.py HopsanGUI ${LIC_HEADER} ${DOSET} -e HopsanGUI/Dependencies
Utilities/licenseChanger.py HoLC ${LIC_HEADER} ${DOSET}