[PD-cvs] SF.net SVN: pure-data:[10318] branches/pd-extended/v0-40/pd/src/u_main.tk

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Tue Sep 30 19:02:46 CEST 2008


Revision: 10318
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10318&view=rev
Author:   eighthave
Date:     2008-09-30 17:02:40 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
stupid mistake on my part means that the app builder doesn't work unless there is already an existing app to replace

Modified Paths:
--------------
    branches/pd-extended/v0-40/pd/src/u_main.tk

Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk	2008-09-30 08:26:59 UTC (rev 10317)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk	2008-09-30 17:02:40 UTC (rev 10318)
@@ -904,8 +904,10 @@
 	global pd_guidir
 	set pdapp_contents [file normalize "$pd_guidir/.."]
 	pdtk_post "Copying:$pdapp_contents\n  -->\t$appdir/\n"
-	exec -- chmod -R u+w $appdir
-	file delete -force -- $appdir
+	catch {
+		exec -- chmod -R u+w $appdir
+		file delete -force -- $appdir
+	}
 	file mkdir $appdir
 	file copy -- $pdapp_contents "$appdir/"
 	file rename -force -- $appdir/Contents/org.puredata.pd.default.plist \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list