The Samba-Bugzilla – Attachment 155 Details for
Bug 456
Makefile does not install souce/po/*.msg files automatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A possible solution
swat-i18n-msg.patch (text/plain), 1.47 KB, created by
Shiro Yamada
on 2003-09-21 21:21:42 UTC
(
hide
)
Description:
A possible solution
Filename:
MIME Type:
Creator:
Shiro Yamada
Created:
2003-09-21 21:21:42 UTC
Size:
1.47 KB
patch
obsolete
>diff -uNr samba-3.0.0rc4.org/source/Makefile.in samba-3.0.0rc4/source/Makefile.in >--- samba-3.0.0rc4.org/source/Makefile.in Fri Sep 12 03:05:44 2003 >+++ samba-3.0.0rc4/source/Makefile.in Mon Sep 22 12:01:38 2003 >@@ -1205,7 +1205,10 @@ > installdat: installdirs > @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR)$(LIBDIR) $(srcdir) > >-installswat: installdirs >+installmsg: installdirs >+ @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR)$(LIBDIR) $(srcdir) >+ >+installswat: installdirs installmsg > @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir) > > installclientlib: installdirs libsmbclient >diff -uNr samba-3.0.0rc4.org/source/script/installmsg.sh samba-3.0.0rc4/source/script/installmsg.sh >--- samba-3.0.0rc4.org/source/script/installmsg.sh Thu Jan 1 09:00:00 1970 >+++ samba-3.0.0rc4/source/script/installmsg.sh Mon Sep 22 12:01:14 2003 >@@ -0,0 +1,23 @@ >+#!/bin/sh >+# first version (Sept 2003) written by Shiro Yamada <shiro@miraclelinux.com> >+# based on the first verion (March 2002) of installdat.sh written by Herb Lewis >+ >+MSGDIR=$1 >+SRCDIR=$2/ >+ >+echo Installing msg files in $MSGDIR >+ >+for f in $SRCDIR/po/*.msg; do >+ FNAME=$MSGDIR/`basename $f` >+ echo $FNAME >+ cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? >+ chmod 0644 $FNAME >+done >+ >+cat << EOF >+====================================================================== >+The msg files have been installed. >+====================================================================== >+EOF >+ >+exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 456
:
155
|
163