[banshee] [darwin] set PATH env variable (bgo#608298)



commit f30dd80438869a2c6654a1d339beb840f20f7b13
Author: Aaron Bockover <abockover novell com>
Date:   Thu Jan 28 21:48:37 2010 -0500

    [darwin] set PATH env variable (bgo#608298)
    
    This prevents applications outside of the core OS X system and
    the Banshee bundle from being invoked. The bundle's bin directory
    is included in PATH here, so the bundled Mono can be used if it's
    needed internally (e.g. Mono.Addins).

 src/Clients/Booter/banshee-1.darwin.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/Booter/banshee-1.darwin.in b/src/Clients/Booter/banshee-1.darwin.in
index c2b8707..8136bdc 100644
--- a/src/Clients/Booter/banshee-1.darwin.in
+++ b/src/Clients/Booter/banshee-1.darwin.in
@@ -12,6 +12,9 @@ LIB_DIR="$RES_DIR/lib"
 BIN_DIR="$RES_DIR/bin"
 DATA_DIR="$RES_DIR/share"
 
+# Shell environment
+export PATH="/bin:/usr/bin:$BIN_DIR"
+
 # XDG environment
 export XDG_CONFIG_DIRS="$ETC_DIR/xdg"
 export XDG_DATA_DIRS="$DATA_DIR"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]