diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-24 15:16:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-24 15:16:57 +0000 |
commit | 602ad283b4724acac0a416cd1fd1124ce89ee316 (patch) | |
tree | 0a0a995abaa76d3a350d450ddb996ee260ca4f3a /source3/script | |
parent | 4b10dd945476a93fd9a7d3e047cff7592935ad34 (diff) | |
download | samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.gz samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.bz2 samba-602ad283b4724acac0a416cd1fd1124ce89ee316.zip |
* sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
(This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
Diffstat (limited to 'source3/script')
-rw-r--r-- | source3/script/gaptab.awk | 4 | ||||
-rw-r--r-- | source3/script/installmsg.sh | 23 |
2 files changed, 25 insertions, 2 deletions
diff --git a/source3/script/gaptab.awk b/source3/script/gaptab.awk index f9d1526361..a309089cd5 100644 --- a/source3/script/gaptab.awk +++ b/source3/script/gaptab.awk @@ -23,9 +23,9 @@ function tonum(str) function fmt(val) { if (f++ % 8 == 0) - { printf ("\n '\\x%02x',", val); } + { printf ("\n 0x%02x,", val); } else - { printf (" '\\x%02x',", val); } + { printf (" 0x%02x,", val); } } { diff --git a/source3/script/installmsg.sh b/source3/script/installmsg.sh new file mode 100644 index 0000000000..30ad404aa0 --- /dev/null +++ b/source3/script/installmsg.sh @@ -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 |