summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/motif-config/files/motif-config-0.8')
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.86
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-libs/motif-config/files/motif-config-0.8 b/x11-libs/motif-config/files/motif-config-0.8
index ddb2199277d5..79f46593d172 100755
--- a/x11-libs/motif-config/files/motif-config-0.8
+++ b/x11-libs/motif-config/files/motif-config-0.8
@@ -68,6 +68,10 @@ _check_root() {
_activate_profile() {
_check_root
+ if [ -z "${1}" ]; then
+ return 0
+ fi
+
new=${1}
# libs
for file in `ls /usr/@@LIBDIR@@/${new}/ | grep lib`; do
@@ -357,7 +361,7 @@ for x in "$@"; do
;;
-v|--version)
- echo "motif-config-0.7"
+ echo "motif-config-0.8"
exit 0
;;