clearing up the chmod +x mess

This commit is contained in:
benfry
2004-09-28 06:18:38 +00:00
parent d5018944e3
commit da2de8eeb6
2 changed files with 21 additions and 9 deletions

View File

@@ -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.

View File

@@ -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 ../..