Skip to content
Snippets Groups Projects
Commit c8ca573a authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'update-ldap-class' into 'master'

Update ldap class

See merge request !30
parents 3928185f 28a2264f
No related branches found
No related tags found
1 merge request!30Update ldap class
Pipeline #836 passed
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
# ====================================================================== # ======================================================================
# #
# DOCKER PHP DEV ENVIRONMENT :: INIT # DOCKER PHP DEV ENVIRONMENT :: INIT
# (work in progress)
# #
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# 2021-11-nn <axel.hahn@iml.unibe.ch> # 2021-11-nn <axel.hahn@iml.unibe.ch>
# 2022-07-19 <axel.hahn@iml.unibe.ch> support multiple dirs for setfacl
# ====================================================================== # ======================================================================
cd $( dirname $0 ) cd $( dirname $0 )
...@@ -127,7 +127,7 @@ function _generateFiles(){ ...@@ -127,7 +127,7 @@ function _generateFiles(){
# add generator # add generator
# sed -i "s#{{generator}}#generated by $0 - template: $mytpl - $( date )#g" $_tmpfile # sed -i "s#{{generator}}#generated by $0 - template: $mytpl - $( date )#g" $_tmpfile
local _md5=$( md5sum $_tmpfile | awk '{ print $1 }' ) local _md5=$( md5sum $_tmpfile | awk '{ print $1 }' )
sed -i "s#{{generator}}#GENERATED BY $0 - template: $mytpl - $_md5#g" $_tmpfile sed -i "s#{{generator}}#GENERATED BY $( basename $0 ) - template: $mytpl - $_md5#g" $_tmpfile
# loop over vars to make the replacement # loop over vars to make the replacement
grep "^[a-zA-Z]" $( basename $0 ).cfg | while read line grep "^[a-zA-Z]" $( basename $0 ).cfg | while read line
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment