Fixed script path bug

This commit is contained in:
Fernando Cacciola 2007-04-09 14:08:37 +00:00
parent df5cf65cf5
commit fcf8b8e116
1 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,8 @@
echo "Creating VC71/VC80 solution & project files..."
SCRIPTDIR=$PWD;
# NOTE: This is hard-coded
SCRIPTDIR="../../developer_scripts/examples"
# Creates a VC71/VC80 .vcproj file corresponding to a source file
@ -25,7 +26,7 @@ create_project_file()
projfile=`echo $srcfile|sed -e "s/\.$ext/\.vcproj/"`;
# Creates a vcroj IFF it doesn't exist
if [[ ! -e $projfile ]]; then
if [ ! -e $projfile ]; then
GUID=`printf "%012d" $RANDOM`
@ -112,7 +113,7 @@ if [ -d $h ]; then
if [ ! $i = "*.$ext" ]; then
# if $i contains a function "main()"
zgrep main $i >/dev/null 2>&1
if [[ $? == 0 ]]; then
if [ $? == 0 ]; then
create_project_file $i $ext "71" $sp71