[rtems-graphics-toolkit commit] Fix do_it to make more portable

Gedare Bloom gedare at rtems.org
Tue Oct 7 00:38:45 UTC 2014


Module:    rtems-graphics-toolkit
Branch:    master
Commit:    b013cd21d32aec8afceeede001f4588f97551338
Changeset: http://git.rtems.org/rtems-graphics-toolkit/commit/?id=b013cd21d32aec8afceeede001f4588f97551338

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Mon Oct  6 20:47:49 2014 -0400

Fix do_it to make more portable

---

 do_it |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/do_it b/do_it
index 6fe0f86..de87200 100755
--- a/do_it
+++ b/do_it
@@ -1,9 +1,7 @@
-#! /bin/sh 
+#! /bin/bash 
 #
 #  Script to help build RTEMS Graphics Toolkit
 #
-#  $Id$
-#
 
 BASEDIR=`dirname $0`
 
@@ -13,7 +11,7 @@ if [ ! -r ${vfile} ] ; then
   exit 1
 fi
 
-source ${vfile}
+./${vfile}
 
 if [ X${LIBJPEG} = X ] ; then
   echo VERSION FILE NOT CORRECT
@@ -208,7 +206,7 @@ echo "Generating RTEMS_SETTINGS file..."
 make -f Makefile.settings clean all
 check_status $? Could not generate RTEMS_SETTINGS
 
-source ./RTEMS_SETTINGS
+. ./RTEMS_SETTINGS
 
 PREFIX=${BSPTOP}
 



More information about the vc mailing list