X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=INSTALL.sh;h=25da24dcf5c01fa9c89032a9b07782d21138d0f4;hb=515592aef07a347102b36f2de400e23285df159e;hp=89199336511adfebb177682a7a88a597b8d2ed2f;hpb=43b09f6024d0cfe605e5b02df38637bd945a403d;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 8919933..25da24d 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -256,7 +256,8 @@ fi if [ -f "$etc_path/$brisk_conf" ]; then echo "Config file $etc_path/$brisk_conf exists." echo "=== Dump the diff. ===" - diff -u "$etc_path/$brisk_conf" "${web_path}__""/Obj/brisk.conf-templ.pho" + # diff -u "$etc_path/$brisk_conf" "${web_path}__""/Obj/brisk.conf-templ.pho" + diff -u <(cat "$etc_path/$brisk_conf" | grep '\$[a-zA-Z_ ]\+=' | sed 's/ = .*/ = /g' | sort | uniq) <(cat "${web_path}__""/Obj/brisk.conf-templ.pho" | grep '\$[a-zA-Z_ ]\+=' | sed 's/ = .*/ = /g' | sort | uniq ) echo "=== End dump. ===" else echo "Config file $etc_path/$brisk_conf not exists."