OpenSDE Packages Database (without history before r20070)
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.

38 lines
1.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../gnocl/rebuild_safe.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./src/install.tcl.orig 2005-11-09 18:26:32.212398624 -0300
  17. +++ ./src/install.tcl 2005-11-09 18:35:19.788404016 -0300
  18. @@ -20,17 +20,13 @@
  19. set destDir [file join $dir gnocl-$version]
  20. switch -- $what {
  21. "install" {
  22. - if { [file exists $destDir] } {
  23. - puts "$destDir exists already. Aborting installation."
  24. - exit -1
  25. - }
  26. puts "Creating $destDir"
  27. - file mkdir $destDir
  28. + file mkdir -p $destDir
  29. set files [glob *.so]
  30. lappend files pkgIndex.tcl
  31. foreach file $files {
  32. puts "Copying $file"
  33. - file copy $file $destDir
  34. + file copy -force $file $destDir
  35. }
  36. }
  37. "test" {