I think you intended to 'return 0' instead of 'exit 0' at line 90. I can never set a profile if current profile is not set(chicken and egg), because I exit instead of returnng to 'activate'. This patch should help. --- /usr/bin/motif-config.orig 2005-02-26 16:20:43.527582368 -0800 +++ /usr/bin/motif-config 2005-02-26 16:20:57.881400256 -0800 @@ -87,7 +87,7 @@ current=`cat ${CONFIG_FILE} 2>/dev/null` if [ -z "$current" ]; then - exit 0 + return 0 fi # libs
it's fixed in motif-config-0.2