SPECS: mutt.spec - fixed it other ways - and set -e makes first false condi...
glen
glen at pld-linux.org
Mon Apr 13 23:30:53 CEST 2009
Author: glen Date: Mon Apr 13 21:30:53 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed it other ways
- and set -e makes first false condition to exit, fix that too
---- Files affected:
SPECS:
mutt.spec (1.221 -> 1.222)
---- Diffs:
================================================================
Index: SPECS/mutt.spec
diff -u SPECS/mutt.spec:1.221 SPECS/mutt.spec:1.222
--- SPECS/mutt.spec:1.221 Mon Apr 13 22:12:26 2009
+++ SPECS/mutt.spec Mon Apr 13 23:30:47 2009
@@ -225,11 +225,10 @@
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
-cat <<EOF >$RPM_BUILD_ROOT%{_bindir}/mutt_source-muttrc.d
+cat <<'EOF' >$RPM_BUILD_ROOT%{_bindir}/mutt_source-muttrc.d
#!/bin/sh -e
-
for rc in /etc/Muttrc.d/*.rc; do
- test -r "\$rc" && echo "source \"\$rc\""
+ [ ! -r "$rc" ] || echo "source \"$rc\""
done
EOF
@@ -273,6 +272,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.222 2009/04/13 21:30:47 glen
+- fixed it other ways
+- and set -e makes first false condition to exit, fix that too
+
Revision 1.221 2009/04/13 20:12:26 baggins
- rel 2
- fixed mutt_source-muttrc.d script
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mutt.spec?r1=1.221&r2=1.222&f=u
More information about the pld-cvs-commit
mailing list