Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
bcf6f459
Commit
bcf6f459
authored
Nov 11, 2012
by
Ivica Bukvic
Browse files
made custom externals folder unique so as to not clash with pure-data
parent
c31262e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pd.tk
View file @
bcf6f459
...
...
@@ -254,7 +254,7 @@ if { $tcl_platform(platform) == "windows" } {
{{
max
binary
files
}
{.
mxb
}
}
{{
max
help
files
}
{.
help
}
}
}
set
externalsdir
"$::env(HOME)/pd-externals"
set
externalsdir
"$::env(HOME)/pd-
l2ork-
externals"
}
#
make
sure
the
user
folder
for
installing
externals
exists
...
...
@@ -588,7 +588,7 @@ set ::dialog_menubar .mbar
set
::
modifier
$
ctrl_key
set
::
sys_libdir
$
pd_guidir
switch
$
pd_nt
{
0
{
set
::
pd_path
[
list
~/
pd
-
externals
/
usr
/
local
/
lib
/
pd
-
externals
]}
0
{
set
::
pd_path
[
list
~/
pd
-
l2ork
-
externals
/
usr
/
local
/
lib
/
pd
-
l2ork
-
externals
]}
1
{
set
::
pd_path
[
list
[
file
normalize
$::
env
(
AppData
)/
Pd
]
\
[
file
normalize
$::
env
(
CommonProgramFiles
)/
Pd
]]}
2
{
set
::
pd_path
[
list
~/
Library
/
Pd
/
Library
/
Pd
]}
...
...
src/s_path.c
View file @
bcf6f459
...
...
@@ -221,9 +221,9 @@ void sys_setextrapath(const char *p)
namelist_free
(
pd_extrapath
);
/* add standard place for users to install stuff first */
#ifdef __gnu_linux__
sys_expandpath
(
"~/pd-externals"
,
pathbuf
);
sys_expandpath
(
"~/pd-
l2ork-
externals"
,
pathbuf
);
pd_extrapath
=
namelist_append
(
0
,
pathbuf
,
0
);
pd_extrapath
=
namelist_append
(
pd_extrapath
,
"/usr/local/lib/pd-externals"
,
0
);
pd_extrapath
=
namelist_append
(
pd_extrapath
,
"/usr/local/lib/pd-
l2ork-
externals"
,
0
);
#endif
#ifdef __APPLE__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment