Skip to content
Snippets Groups Projects

Update ldap class

Merged Hahn Axel (hahn) requested to merge update-ldap-class into master
2 files
+ 454
149
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
2
@@ -2,10 +2,10 @@
# ======================================================================
#
# DOCKER PHP DEV ENVIRONMENT :: INIT
# (work in progress)
#
# ----------------------------------------------------------------------
# 2021-11-nn <axel.hahn@iml.unibe.ch>
# 2022-07-19 <axel.hahn@iml.unibe.ch> support multiple dirs for setfacl
# ======================================================================
cd $( dirname $0 )
@@ -127,7 +127,7 @@ function _generateFiles(){
# add generator
# sed -i "s#{{generator}}#generated by $0 - template: $mytpl - $( date )#g" $_tmpfile
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
grep "^[a-zA-Z]" $( basename $0 ).cfg | while read line
Loading