File: pd-gui.in

package info (click to toggle)
puredata 0.55.2%2Bds-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 20,336 kB
  • sloc: ansic: 118,788; tcl: 10,221; cpp: 9,327; makefile: 1,632; sh: 1,476; python: 152; xml: 98; awk: 13
file content (18 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# script to launch the Pure Data gui

# this will be replaced with a full path during `make`
prefix=@prefix@
exec_prefix=@exec_prefix@
PD_PREFIX=@libdir@/@PACKAGE@

# for convenience, a symlink is created from this (unexpanded) file
# to ${builddir}/bin/pd-gui
# when called as such, we want to launch the local (non-installed) pd-gui.tcl
if [ "x${PD_PREFIX#@}" != "x${PD_PREFIX}" ]; then
# the PD_PREFIX starts with '@', so it hasn't been replaced...
 PD_PREFIX=${0%/*}/..
fi

exec ${PD_PREFIX}/tcl/pd-gui.tcl "$@"