package.sh, package.csh のファイル名を ReleasePackage.* に変更。

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@164 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
(no author) 2010-01-08 07:03:55 +00:00
parent 8707686095
commit 973bdd8c58
2 changed files with 59 additions and 0 deletions

27
ReleasePackage.csh Normal file
View File

@ -0,0 +1,27 @@
#!c:/tcsh/tcsh.exe
set mydir="cr_generate_id"
set myfiles="Makefile.sharp main.c cr_generate_id.h libgenid.a readme_openssl.txt LICENSE_en.txt LICENSE_jp.txt readme.txt readme_openssl.txt"
if(-e $mydir.zip) then
rm -f $mydir.zip
endif
if(-d $mydir ) then
rm -rf $mydir
endif
mkdir $mydir
foreach myfile ($myfiles)
if(-e $mydir/$myfile) then
rm -f $mydir/$myfile
endif
cp $myfile $mydir/$myfile
end
mv $mydir/Makefile.sharp $mydir/Makefile
zip $mydir.zip $mydir/*

32
ReleasePackage.sh Normal file
View File

@ -0,0 +1,32 @@
#!/usr/bin/sh
mydir="generate_id"
echo $mydir
myfiles="Makefile.sharp main.c cr_generate_id.h libgenid.a readme_openssl.txt LICENSE_en.txt LICENSE_jp.txt readme.txt readme_openssl.txt"
if [ -e mydir.zip ]
then
rm -f $mydir.zip
fi
if [ -e $mydir ]
then
rm -rf $mydir
fi
mkdir $mydir
for myfile in $myfiles
do
if [ -e $mydir/$myfile ]
then
rm -f $mydir/$myfile
fi
cp $myfile $mydir/$myfile
done
mv $mydir/Makefile.sharp $mydir/Makefile
zip $mydir.zip $mydir/*