From 35c5908565eb61032a8148964fbd0de2ab61a1bb Mon Sep 17 00:00:00 2001 From: kojima Date: Tue, 9 Jan 2001 15:51:20 +0000 Subject: [PATCH] fixed bug in wmaker.inst --- util/wmaker.inst.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/util/wmaker.inst.in b/util/wmaker.inst.in index 24e9beaa..d0678038 100644 --- a/util/wmaker.inst.in +++ b/util/wmaker.inst.in @@ -65,13 +65,15 @@ copy() { elif [ "$file" = "WMRootMenu" ]; then if [ "$LOCALE" ]; then if [ -f $GLOBALDIR/plmenu.${LOCALE%_*} ]; then - cp $GLOBALDIR/plmenu.${LOCALE%_*} $GSDIR/Defaults/WMRootMenu + source=$GLOBALDIR/plmenu.${LOCALE%_*} else - cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu + source=$GLOBALDIR/plmenu fi else - cp $GLOBALDIR/plmenu $GSDIR/Defaults/WMRootMenu + source=$GLOBALDIR/plmenu fi + sed -e "s:#wmdatadir#:$GLOBALDIR:g" \ + $source > $GSDIR/Defaults/WMRootMenu else if test "x$GNUSTEP_USER_ROOT" = "x"; then sed -e "s:#wmdatadir#:$GLOBALDIR:g" \