split-for-gcj.sh: Don't use unportable %{parameter%word}.
* lib/split-for-gcj.sh: Don't use unportable %{parameter%word}. Don't use unportable !. From-SVN: r102986
This commit is contained in:
parent
b630e240af
commit
0711c8ccb1
@ -1,3 +1,8 @@
|
||||
2005-08-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* lib/split-for-gcj.sh: Don't use unportable %{parameter%word}.
|
||||
Don't use unportable !.
|
||||
|
||||
2005-07-15 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* ChangeLog.gcj, Makefile.in, aclocal.m4, config.guess,
|
||||
|
@ -11,7 +11,7 @@ for dir in java javax gnu org; do
|
||||
list=lists/`echo $pkg | sed -e 's,/,-,g'`
|
||||
echo "$file" >> ${list}.list.1
|
||||
f2=`echo "$file" | sed -n -e "s,^.*/\($dir/.*\)$,\1,p"`
|
||||
f2=${f2%.java}.class
|
||||
f2=`echo "$f2" | sed -e 's/.java$//'`.class
|
||||
echo "$f2: ${list}.stamp" >> Makefile.deps
|
||||
echo "${list}.list: $file" >> Makefile.deps
|
||||
done
|
||||
@ -19,10 +19,10 @@ done
|
||||
|
||||
# Only update a .list file if it changed.
|
||||
for file in lists/*.list.1; do
|
||||
real=${file%.1}
|
||||
if ! cmp -s $real $file; then
|
||||
mv $file $real
|
||||
else
|
||||
real=`echo "$file" | sed -e 's/.1$//'`
|
||||
if cmp -s $real $file; then
|
||||
rm $file
|
||||
else
|
||||
mv $file $real
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user