SPECS: obextool.spec - when will people use 'EOF' instead of EOF, ...

glen glen at pld-linux.org
Thu Mar 30 09:34:58 CEST 2006


Author: glen                         Date: Thu Mar 30 07:34:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- when will people use 'EOF' instead of EOF, instead of quoting without a point

---- Files affected:
SPECS:
   obextool.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/obextool.spec
diff -u SPECS/obextool.spec:1.6 SPECS/obextool.spec:1.7
--- SPECS/obextool.spec:1.6	Thu Mar 30 09:28:42 2006
+++ SPECS/obextool.spec	Thu Mar 30 09:34:53 2006
@@ -37,22 +37,22 @@
 cp -a * $RPM_BUILD_ROOT%{_packagedir}
 rm -rf $RPM_BUILD_ROOT%{_packagedir}/{etc,doc}
 
-cat > $RPM_BUILD_ROOT%{_bindir}/obextool << EOF
+cat > $RPM_BUILD_ROOT%{_bindir}/obextool << 'EOF'
 #!/bin/sh
 # ObexTool startup shell
 #
 MODEM="/dev/modem"
-[ -n "\$1" ] && MODEM="\$1"
+[ -n "$1" ] && MODEM="$1"
 OBEXDIR=%{_packagedir}
 OBEXTOOL_CFG=%{_sysconfdir}/obextool
-OBEXTCMD="%{_bindir}/obexftp -t \${MODEM}"
+OBEXTCMD="%{_bindir}/obexftp -t ${MODEM}"
 export OBEXDIR OBEXTOOL_CFG OBEXTCMD
 #
 # Let's start the ObexTool without memory status
 # feature (if no Siemens), using Tk version 8.4 and
 # a specific configuration directory %{_sysconfdir}/obextool
 # and the contributed static compiled obexftp version.
-/bin/sh -c "%{_bindir}/wish \$OBEXDIR/obextool.tk --memstat 0"
+/bin/sh -c "%{_bindir}/wish $OBEXDIR/obextool.tk --memstat 0"
 EOF
 
 %clean
@@ -73,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/03/30 07:34:53  glen
+- when will people use 'EOF' instead of EOF, instead of quoting without a point
+
 Revision 1.6  2006/03/30 07:28:42  arekm
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/obextool.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list