SPECS: josm.spec - why people never use 'EOF' instead?
glen
glen at pld-linux.org
Thu Apr 23 12:40:14 CEST 2009
Author: glen Date: Thu Apr 23 10:40:14 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- why people never use 'EOF' instead?
---- Files affected:
SPECS:
josm.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/josm.spec
diff -u SPECS/josm.spec:1.5 SPECS/josm.spec:1.6
--- SPECS/josm.spec:1.5 Wed Apr 22 10:08:01 2009
+++ SPECS/josm.spec Thu Apr 23 12:40:09 2009
@@ -28,16 +28,15 @@
%setup -q -c -T
%build
-cat >josm <<EOF
+cat > josm <<'EOF'
#!/bin/sh
-
-exec java -jar %{_datadir}/%{name}/%{name}-snapshot-%{version}.jar "\$@"
+exec java -jar %{_datadir}/%{name}/%{name}-snapshot-%{version}.jar ${1:+"$@"}
EOF
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
-install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}/
+install %{SOURCE0} $RPM_BUILD_ROOT%{_datadir}/%{name}
install josm $RPM_BUILD_ROOT%{_bindir}/josm
%clean
@@ -54,6 +53,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2009/04/23 10:40:09 glen
+- why people never use 'EOF' instead?
+
Revision 1.5 2009/04/22 08:08:01 jajcus
- Version: 1529
- command-line parameter passing fixed in the josm script
@@ -69,8 +71,7 @@
- BR: rpm-javaprov
- include java rpm macros
- verbose files
-- TODO (where to install .jar? Why not in %%{_javadir})
+- TODO (where to install .jar? Why not in %{_javadir})
Revision 1.1 2009/04/12 19:16:51 jajcus
- new spec
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/josm.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list