mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
added .sh licenses
This commit is contained in:
parent
fada085f0e
commit
479fa23acb
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
2
cmk.sh
Executable file → Normal file
2
cmk.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
CMAKE="cmake3"
|
CMAKE="cmake3"
|
||||||
BUILDDIR="build"
|
BUILDDIR="build"
|
||||||
|
2
conda-recepie/build.sh
Executable file → Normal file
2
conda-recepie/build.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
mkdir install
|
mkdir install
|
||||||
|
2
conda-recepie/build_pylib.sh
Executable file → Normal file
2
conda-recepie/build_pylib.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
|
|
||||||
echo "|<-------- starting python build"
|
echo "|<-------- starting python build"
|
||||||
cd python
|
cd python
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
mkdir $PREFIX/lib
|
mkdir $PREFIX/lib
|
||||||
mkdir $PREFIX/bin
|
mkdir $PREFIX/bin
|
||||||
mkdir $PREFIX/include
|
mkdir $PREFIX/include
|
||||||
|
2
conda-recepie/copy_gui.sh
Executable file → Normal file
2
conda-recepie/copy_gui.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#Copy the GUI
|
#Copy the GUI
|
||||||
mkdir -p $PREFIX/bin
|
mkdir -p $PREFIX/bin
|
||||||
cp build/install/bin/slsDetectorGui $PREFIX/bin/.
|
cp build/install/bin/slsDetectorGui $PREFIX/bin/.
|
||||||
|
2
conda-recepie/copy_lib.sh
Executable file → Normal file
2
conda-recepie/copy_lib.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
|
|
||||||
mkdir -p $PREFIX/lib
|
mkdir -p $PREFIX/lib
|
||||||
mkdir -p $PREFIX/bin
|
mkdir -p $PREFIX/bin
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#Copy the Moench executables
|
#Copy the Moench executables
|
||||||
mkdir -p $PREFIX/bin
|
mkdir -p $PREFIX/bin
|
||||||
cp build/install/bin/moench04ZmqProcess $PREFIX/bin/.
|
cp build/install/bin/moench04ZmqProcess $PREFIX/bin/.
|
||||||
|
2
conda-recepie/run_test.sh
Executable file → Normal file
2
conda-recepie/run_test.sh
Executable file → Normal file
@ -1 +1,3 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
ctest -j2
|
ctest -j2
|
2
ctbGui/patternGenerator/generate.sh
Executable file → Normal file
2
ctbGui/patternGenerator/generate.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
if [ "$#" -eq 0 ]; then
|
if [ "$#" -eq 0 ]; then
|
||||||
echo "Wrong number of arguments: usage should be $0 patname"
|
echo "Wrong number of arguments: usage should be $0 patname"
|
||||||
exit 1
|
exit 1
|
||||||
|
2
evalVersionVariables.sh
Executable file → Normal file
2
evalVersionVariables.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
GITREPO1='git remote -v'
|
GITREPO1='git remote -v'
|
||||||
GITREPO2=" | grep \"fetch\" | cut -d' ' -f1"
|
GITREPO2=" | grep \"fetch\" | cut -d' ' -f1"
|
||||||
BRANCH1='git branch -v'
|
BRANCH1='git branch -v'
|
||||||
|
2
genVersionHeader.sh
Executable file → Normal file
2
genVersionHeader.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#####! /bin/awk -f
|
#####! /bin/awk -f
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
declare -a det=("ctbDetectorServer"
|
declare -a det=("ctbDetectorServer"
|
||||||
"gotthardDetectorServer"
|
"gotthardDetectorServer"
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
declare -a det=("eigerDetectorServer")
|
declare -a det=("eigerDetectorServer")
|
||||||
|
|
||||||
declare -a deterror=("OK" "OK" "OK" "OK")
|
declare -a deterror=("OK" "OK" "OK" "OK")
|
||||||
|
2
this_build_bin_path.sh
Executable file → Normal file
2
this_build_bin_path.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#echo $#
|
#echo $#
|
||||||
#if [ $# = 0 ]; then
|
#if [ $# = 0 ]; then
|
||||||
# f=$0
|
# f=$0
|
||||||
|
2
updateAPIVersion.sh
Executable file → Normal file
2
updateAPIVersion.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#require 2 arguments, API_NAME API_DIR (relative to package)
|
#require 2 arguments, API_NAME API_DIR (relative to package)
|
||||||
if [ $# -lt 2 ]; then
|
if [ $# -lt 2 ]; then
|
||||||
echo "Wrong usage of updateVersion.sh. Requires atleast 2 arguments [API_NAME, API_DIR]"
|
echo "Wrong usage of updateVersion.sh. Requires atleast 2 arguments [API_NAME, API_DIR]"
|
||||||
|
2
updateClientAPI.sh
Executable file → Normal file
2
updateClientAPI.sh
Executable file → Normal file
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
API_FILE=$PWD/slsSupportLib/include/sls/versionAPI.h
|
API_FILE=$PWD/slsSupportLib/include/sls/versionAPI.h
|
||||||
arraylength=3
|
arraylength=3
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-License-Identifier: LGPL-3.0-or-other
|
||||||
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
WD=$PWD
|
WD=$PWD
|
||||||
LICENCE_NOTICE_FILE=$WD/notice_to_add_for_every_file
|
LICENCE_NOTICE_FILE=$WD/notice_to_add_for_every_file
|
||||||
@ -18,7 +20,7 @@ fi
|
|||||||
cd $CURRENT
|
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/"
|
prefix="/afs/psi.ch/project/sls_det_software/dhanya_softwareDevelopment/mySoft/slsDetectorPackage/"
|
||||||
p=${file#"$prefix"}
|
p=${file#"$prefix"}
|
||||||
echo Processing $p
|
echo Processing $p
|
||||||
|
Loading…
x
Reference in New Issue
Block a user