projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6832189
)
diff of brisk.conf with vars name filter
author
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Wed, 22 Jul 2009 19:06:03 +0000
(19:06 +0000)
committer
Matteo Nastasi (mop)
<nastasi@alternativeoutput.it>
Wed, 22 Jul 2009 19:06:03 +0000
(19:06 +0000)
INSTALL.sh
patch
|
blob
|
history
diff --git
a/INSTALL.sh
b/INSTALL.sh
index
8919933
..
25da24d
100755
(executable)
--- 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. ==="
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."
echo "=== End dump. ==="
else
echo "Config file $etc_path/$brisk_conf not exists."