Dash:
[t2-trunk.git] / package / gnome / gnocl / rebuild_safe.patch
blobc2702b51721c442176db5a78222fd0282e6d49e0
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 - 2005 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 ---
17 --- ./src/install.tcl.orig 2005-11-09 18:26:32.212398624 -0300
18 +++ ./src/install.tcl 2005-11-09 18:35:19.788404016 -0300
19 @@ -20,17 +20,13 @@
20 set destDir [file join $dir gnocl-$version]
21 switch -- $what {
22 "install" {
23 - if { [file exists $destDir] } {
24 - puts "$destDir exists already. Aborting installation."
25 - exit -1
26 - }
27 puts "Creating $destDir"
28 - file mkdir $destDir
29 + file mkdir -p $destDir
30 set files [glob *.so]
31 lappend files pkgIndex.tcl
32 foreach file $files {
33 puts "Copying $file"
34 - file copy $file $destDir
35 + file copy -force $file $destDir
38 "test" {