*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-04 13:01:26 +00:00
parent 087367ef35
commit 175a7a85d1
2 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,5 @@
.title ASE License Agreement
Software License Agreement (BSD License)
Copyright (c) 2006-2007, Hyung-Hwan Chung (brian@abiyo.net)
@ -5,11 +7,13 @@ All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
[[[
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the copyright owner nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* Neither the name of the copyright owner nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
]]]
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT OWNER AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -2,13 +2,13 @@
finalize ()
{
base="$1"; cur="$2"; dir="$3";
cur="$1"; dir="$2";
if [ "$dir" = "" ]
then
cd "$base"
cd "$BASE"
else
cd "$base/$dir"
cd "$BASE/$dir"
fi
for i in *
@ -20,10 +20,10 @@ finalize ()
if [ "$cur" = "" ]
then
file="$i"
full="$base/$i"
full="$BASE/$i"
else
file="$cur/$i"
full="$base/$cur/$i"
full="$BASE/$cur/$i"
fi
if [ -d "$full" ]
@ -35,23 +35,23 @@ finalize ()
new="$dir/$i"
fi
finalize "$base" "$file" "$new"
base="$1"; cur="$2"; dir="$3";
finalize "$file" "$new"
cur="$1"; dir="$2";
elif [ -f "$full" ]
then
root="$base/ase-$VER"
root="$BASE/ase-$VER"
target="$root/ase"
mkdir -p "$target/$cur"
case "$full" in
*.h|*.c|*.cc|*.cpp|*.java|*.awk|*.in)
"$HOME/awk" -f "$base/rel/lic.awk" -a "$target/$file" "$full"
"$HOME/awk" -f "$BASE/rel/lic.awk" -a "$target/$file" "$full"
;;
*)
cp -f "$full" "$target/$file"
;;
esac
#echo "$full,$base,$file: $base/xxx/$file [OK]"
#echo "$full,$BASE,$file: $BASE/xxx/$file [OK]"
fi
done
}
@ -59,15 +59,16 @@ finalize ()
if [ ! -f ../CVS/Tag ]
then
echo "Error: ../CVS/Tag not found"
exit 1;
#exit 1;
fi
VER=`cat ../CVS/Tag | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g`
VER="0.1.0"
cwd=`pwd`
cd ".."
base=`pwd`
BASE=`pwd`
finalize "$base" "" ""
finalize "" ""
exit 0