added .sh licenses

This commit is contained in:
2021-10-15 16:02:42 +02:00
parent fada085f0e
commit 479fa23acb
18 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
#!/bin/bash
WD=$PWD
LICENCE_NOTICE_FILE=$WD/notice_to_add_for_every_file
@ -18,7 +20,7 @@ fi
cd $CURRENT
for file in $(find $CURRENT -name "*$FILE_TYPE"); do
for file in $(find $CURRENT -name "*$FILE_TYPE" -not -path "*./build/*" -not -path "*./libs/*"); do
prefix="/afs/psi.ch/project/sls_det_software/dhanya_softwareDevelopment/mySoft/slsDetectorPackage/"
p=${file#"$prefix"}
echo Processing $p