*** empty log message ***
This commit is contained in:
parent
087367ef35
commit
175a7a85d1
@ -1,3 +1,5 @@
|
|||||||
|
.title ASE License Agreement
|
||||||
|
|
||||||
Software License Agreement (BSD License)
|
Software License Agreement (BSD License)
|
||||||
|
|
||||||
Copyright (c) 2006-2007, Hyung-Hwan Chung (brian@abiyo.net)
|
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:
|
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.
|
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.
|
||||||
|
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
finalize ()
|
finalize ()
|
||||||
{
|
{
|
||||||
base="$1"; cur="$2"; dir="$3";
|
cur="$1"; dir="$2";
|
||||||
|
|
||||||
if [ "$dir" = "" ]
|
if [ "$dir" = "" ]
|
||||||
then
|
then
|
||||||
cd "$base"
|
cd "$BASE"
|
||||||
else
|
else
|
||||||
cd "$base/$dir"
|
cd "$BASE/$dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i in *
|
for i in *
|
||||||
@ -20,10 +20,10 @@ finalize ()
|
|||||||
if [ "$cur" = "" ]
|
if [ "$cur" = "" ]
|
||||||
then
|
then
|
||||||
file="$i"
|
file="$i"
|
||||||
full="$base/$i"
|
full="$BASE/$i"
|
||||||
else
|
else
|
||||||
file="$cur/$i"
|
file="$cur/$i"
|
||||||
full="$base/$cur/$i"
|
full="$BASE/$cur/$i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "$full" ]
|
if [ -d "$full" ]
|
||||||
@ -35,23 +35,23 @@ finalize ()
|
|||||||
new="$dir/$i"
|
new="$dir/$i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
finalize "$base" "$file" "$new"
|
finalize "$file" "$new"
|
||||||
base="$1"; cur="$2"; dir="$3";
|
cur="$1"; dir="$2";
|
||||||
elif [ -f "$full" ]
|
elif [ -f "$full" ]
|
||||||
then
|
then
|
||||||
root="$base/ase-$VER"
|
root="$BASE/ase-$VER"
|
||||||
target="$root/ase"
|
target="$root/ase"
|
||||||
mkdir -p "$target/$cur"
|
mkdir -p "$target/$cur"
|
||||||
|
|
||||||
case "$full" in
|
case "$full" in
|
||||||
*.h|*.c|*.cc|*.cpp|*.java|*.awk|*.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"
|
cp -f "$full" "$target/$file"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#echo "$full,$base,$file: $base/xxx/$file [OK]"
|
#echo "$full,$BASE,$file: $BASE/xxx/$file [OK]"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -59,15 +59,16 @@ finalize ()
|
|||||||
if [ ! -f ../CVS/Tag ]
|
if [ ! -f ../CVS/Tag ]
|
||||||
then
|
then
|
||||||
echo "Error: ../CVS/Tag not found"
|
echo "Error: ../CVS/Tag not found"
|
||||||
exit 1;
|
#exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VER=`cat ../CVS/Tag | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g`
|
VER=`cat ../CVS/Tag | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g`
|
||||||
|
VER="0.1.0"
|
||||||
|
|
||||||
cwd=`pwd`
|
cwd=`pwd`
|
||||||
cd ".."
|
cd ".."
|
||||||
base=`pwd`
|
BASE=`pwd`
|
||||||
|
|
||||||
finalize "$base" "" ""
|
finalize "" ""
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user