os/dos/make_dos_binary_selfcontained.sh
author rubidium
Wed, 17 Dec 2008 23:12:35 +0000
changeset 10435 849b45cca2e4
parent 10385 4f9838649c7f
permissions -rwxr-xr-x
(svn r14688) -Change: silence the "command not found" error when trying to find the svn/git/hg binary.
#!/bin/sh

cd `dirname $0`
cc -o exe2coff exe2coff.c || exit
cp $1 binary.exe || exit
./exe2coff binary.exe || exit
cat cwsdstub.exe binary > binary.exe || exit
mv binary.exe $1
rm binary exe2coff