aboutsummaryrefslogtreecommitdiff
path: root/scripts/config-switcher.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-18 00:36:10 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-18 00:36:10 +0000
commit9727e8625658520e5fdbfb0b9e9903ad540da648 (patch)
tree4a55afe5865cb790efaa7c89418a2eb209f78113 /scripts/config-switcher.sh
parentecf4375873c98f4864b3d1469be19a28770656fe (diff)
This commit was generated by cvs2svn to compensate for changes in r2777,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=2778
Diffstat (limited to 'scripts/config-switcher.sh')
-rwxr-xr-xscripts/config-switcher.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/config-switcher.sh b/scripts/config-switcher.sh
new file mode 100755
index 00000000..04e77f52
--- /dev/null
+++ b/scripts/config-switcher.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# location of plist that Pd reads
+PLIST_ROOT=~/Library/Preferences/org.puredata.pd
+PLIST=$PLIST_ROOT.plist
+
+# which config to use (first argument)
+CONFIG=$1
+
+cp -f "$PLIST_ROOT.$CONFIG.plist" "$PLIST"