From da2de8eeb650fc44826be0ad7f868976dd5380ec Mon Sep 17 00:00:00 2001 From: benfry Date: Tue, 28 Sep 2004 06:18:38 +0000 Subject: [PATCH] clearing up the chmod +x mess --- build/windows/dist.sh | 15 +++++++++++---- build/windows/make.sh | 15 ++++++++++----- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/build/windows/dist.sh b/build/windows/dist.sh index 2d050a40d..1d8777573 100755 --- a/build/windows/dist.sh +++ b/build/windows/dist.sh @@ -88,6 +88,11 @@ find processing -name "*~" -exec rm -f {} ';' find processing -name ".DS_Store" -exec rm -f {} ';' find processing -name "._*" -exec rm -f {} ';' +# chmod +x the crew +find processing -name "*.dll" -exec chmod +x {} ';' +find processing -name "*.exe" -exec chmod +x {} ';' +find processing -name "*.html" -exec chmod +x {} ';' + # zip it all up for release echo Packaging standard release... echo @@ -101,13 +106,15 @@ zip -rq $P5.zip $P5 echo Packaging expert release... echo +cp -a $P5 $P5-expert + # can't use the run.bat that's tied to a local jre -rm $P5/run.bat -cp dist/run-expert.bat $P5/ +rm $P5-expert/run.bat +cp dist/run-expert.bat $P5-expert/ # remove enormous java runtime -rm -rf $P5/java -zip -rq $P5-expert.zip $P5 +rm -rf $P5-expert/java +zip -rq $P5-expert.zip $P5-expert echo Done. diff --git a/build/windows/make.sh b/build/windows/make.sh index 193e7bdad..a476a8bf4 100755 --- a/build/windows/make.sh +++ b/build/windows/make.sh @@ -25,9 +25,9 @@ else unzip -q reference.zip # necessary for launching reference from shell/command prompt # which is done internally to view reference - chmod +x reference/*.html + #chmod +x reference/*.html # needed by 'help' menu - chmod +x reference/environment/*.html + #chmod +x reference/environment/*.html # chmod -R +x *.html doesn't seem to work rm reference.zip @@ -38,8 +38,8 @@ else # cygwin requires this because of unknown weirdness # it was not formerly this anal retentive cd work/java/bin/ - chmod +x *.exe *.dll - chmod +x client/*.dll + #chmod +x *.exe *.dll + #chmod +x client/*.dll cd ../../.. mkdir work/lib/build @@ -52,7 +52,12 @@ else # get jikes and depedencies cp dist/jikes.exe work/ - chmod +x work/jikes.exe + #chmod +x work/jikes.exe + + # chmod +x the crew + find work -name "*.dll" -exec chmod +x {} ';' + find work -name "*.exe" -exec chmod +x {} ';' + find work -name "*.html" -exec chmod +x {} ';' fi cd ../..