Skip to content

Commit

Permalink
update win32 script
Browse files Browse the repository at this point in the history
git-svn-id: http://dev.corsaair.com/svn/redtamarin/trunk@1795 8266667d-5eeb-4550-8638-74b212e0aa7d
  • Loading branch information
zwetan committed Feb 3, 2016
1 parent 9fef36f commit 6494a24
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions make_deb_win32
Expand Up @@ -5,7 +5,7 @@ STARTTIME=$(date +%s)

RELEASE=bin-release
BINDEPS=bin-deps
ARCHITECTURE=win64
ARCHITECTURE=win32
DEBVER=0.4.1
BASE=redtamarin-sdk_${DEBVER}_${ARCHITECTURE}
ROOTDIR=$RELEASE/$BASE
Expand All @@ -29,13 +29,13 @@ mkdir -p $DEST/share/doc/redbean

find $DIST -type d | xargs chmod 755

# cp bin-deps/bin-release/windows/64/debugger/redshell_dd redshell_dd_win64.exe
# chmod +x redshell_dd_win64.exe
# cp bin-deps/bin-release/windows/32/debugger/redshell_dd redshell_dd_win32.exe
# chmod +x redshell_dd_win32.exe

# redtamarin projector / man
cp bin-deps/redtamarin-release/redtamarin.swf $RELEASE/
cp bin-deps/redtamarin-release/redtamarin.1.gz $RELEASE/
./redshell_dd_win64.exe projectormake.abc -- -o bin-release/redtamarin.exe redshell_dd_win64.exe bin-release/redtamarin.swf -- -Dlanguage en
./redshell_dd_win64.exe projectormake.abc -- -o bin-release/redtamarin.exe redshell_dd_win32.exe bin-release/redtamarin.swf -- -Dlanguage en
sudo chmod 755 $RELEASE/redtamarin.exe
# sudo chown root:root $RELEASE/redtamarin.exe
sudo chmod 644 $RELEASE/redtamarin.1.gz
Expand All @@ -52,7 +52,7 @@ sudo chmod 664 $DIST/lib/redtamarin/lib/*
# redbean projector / man
cp bin-deps/redbean-release/redbean.abc $RELEASE/
cp bin-deps/redbean-release/redbean.1.gz $RELEASE/
./redshell_dd_win64.exe projectormake.abc -- -o bin-release/redbean.exe redshell_dd_win64.exe bin-release/redbean.abc -- -Dlanguage en
./redshell_dd_win64.exe projectormake.abc -- -o bin-release/redbean.exe redshell_dd_win32.exe bin-release/redbean.abc -- -Dlanguage en
sudo chmod 755 $RELEASE/redbean.exe
# sudo chown root:root $RELEASE/redbean.exe
sudo chmod 644 $RELEASE/redbean.1.gz
Expand Down Expand Up @@ -122,9 +122,9 @@ sudo chmod -R 755 $DIST/lib/redtamarin/runtimes/*

SDKBIN="/usr/lib/redtamarin/bin"

cp $DIST/lib/redtamarin/runtimes/redshell/windows/64/redshell.exe $DIST/lib/redtamarin/bin
cp $DIST/lib/redtamarin/runtimes/redshell/windows/64/redshell_d.exe $DIST/lib/redtamarin/bin
cp $DIST/lib/redtamarin/runtimes/redshell/windows/64/redshell_dd.exe $DIST/lib/redtamarin/bin
cp $DIST/lib/redtamarin/runtimes/redshell/windows/32/redshell.exe $DIST/lib/redtamarin/bin
cp $DIST/lib/redtamarin/runtimes/redshell/windows/32/redshell_d.exe $DIST/lib/redtamarin/bin
cp $DIST/lib/redtamarin/runtimes/redshell/windows/32/redshell_dd.exe $DIST/lib/redtamarin/bin

echo -e '#!/bin/bash\n'$SDKBIN'/redshell.exe $@' > $DIST/bin/redshell.exe
chmod +x $DIST/bin/redshell.exe
Expand Down

0 comments on commit 6494a24

Please sign in to comment.