mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.8 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/tsa/metamail/55_metamail-2.7-fixpartial.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- mm2.7/src/bin/showpartial.fixpartial Thu Feb 1 12:20:37 2001
  23. +++ mm2.7/src/bin/showpartial Thu Feb 1 12:21:29 2001
  24. @@ -13,7 +13,7 @@
  25. endif
  26. set file="$1"
  27. # This next line is because message-id can contain weird chars
  28. -set id=`echo $2 | tr -d \!\$\&\*\(\)\|\'\"\;\/\<\>\\`
  29. +set id=`echo $2 | tr -d \!\$\&\*\(\)\|\'\"\;\/\<\>\\\\`
  30. @ partnum = "$3"
  31. if ($#argv == 3 || "$4" == "") then
  32. set totalnum=-1
  33. @@ -74,9 +74,9 @@
  34. end
  35. if ("$found" == "$totalnum") then
  36. cd "${TREEROOT}/$id"
  37. - cat "$list" > "${TREEROOT}/$id/FULL"
  38. + cat $list > "${TREEROOT}/$id/FULL"
  39. # cat ${TREEROOT}/$id/HDRS $list > ${TREEROOT}/$id/FULL
  40. - rm "$list"
  41. + rm $list
  42. echo All parts of this "${totalnum}"-part message have now been read.
  43. metamail -d "${TREEROOT}/$id/FULL"
  44. echo WARNING: To save space, the full file is now being deleted.