Finish fixing for Bourne shell instead of C shell.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2001-08-19 00:09:06 +00:00
parent 286ebf903f
commit f0dffee999

View File

@ -11,24 +11,24 @@ MAINTAINER=easysw
cd /tmp
cvs -d$MAINTAINER@cvs.fltk.sourceforge.net:/cvsroot/fltk get -r v1_1 fltk >& /dev/null
if ($#argv == 0) then
if test $# = 0; then
echo -n "Version number for distribution? "
set version = $<
read version
else
set version = $1
endif
version=$1
fi
rm -rf fltk-$version
mv fltk fltk-$version
cd fltk-$version
if ("$version" != "snapshot") then
if test x$version != snapshot; then
echo "Tagging release..."
set tag = `echo v$version | tr '.' '_'`
cvs tag -F $tag
endif
fi
echo "Making configuration script..."
@ -44,14 +44,15 @@ echo "Generating .cxx and .h files for fluid demos..."
cd test
cp demo.menu demod.menu
foreach file (*.fl)
for file in *.fl; do
echo $file
fluid -c $file
if ($status != 0) then
echo Error executing fluid: $status
/usr/local/src/fltk-1.1/fluid/fluid -c $file
if test $? != 0; then
echo Error executing fluid: $?
exit 1
endif
end
fi
done
cd ..
echo "Making UNIX distribution..."