SPECS: zm.spec - no need USE DATABASE for GRANT - avoid shell expa...

glen glen at pld-linux.org
Thu Nov 29 21:31:59 CET 2007


Author: glen                         Date: Thu Nov 29 20:31:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- no need USE DATABASE for GRANT
- avoid shell expansion just in case

---- Files affected:
SPECS:
   zm.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/zm.spec
diff -u SPECS/zm.spec:1.35 SPECS/zm.spec:1.36
--- SPECS/zm.spec:1.35	Thu Nov 29 21:26:47 2007
+++ SPECS/zm.spec	Thu Nov 29 21:31:53 2007
@@ -105,9 +105,8 @@
 
 sed -i -e 's#chown#true#g' -e 's#chmod#true#g' *.am */*.am */*/*.am
 
-cat <<EOF >> db/zm_create.sql.in
+cat <<'EOF' >> db/zm_create.sql.in
 update Config set Value = '/cgi-bin/zoneminder/nph-zms' where Name = 'ZM_PATH_ZMS';
-use mysql;
 grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
 EOF
 
@@ -236,6 +235,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2007-11-29 20:31:53  glen
+- no need USE DATABASE for GRANT
+- avoid shell expansion just in case
+
 Revision 1.35  2007-11-29 20:26:47  arekm
 - updated
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zm.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list