summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-20 20:59:43 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-20 20:59:43 +0000
commit92a4a910df99b2151e501b76f311575f2e1ebe9a (patch)
tree88d93eaa4e1f36a773c67e467e8152c0d7e5c280
parentfb9d7224e61fc70c76cae470f0a2edb3b385f2ca (diff)
downloadedk2-platforms-92a4a910df99b2151e501b76f311575f2e1ebe9a.tar.xz
Fix the CLASSPATH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1807 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xTools/bin/ContextTool3
-rwxr-xr-xTools/bin/FrameworkWizard4
-rwxr-xr-xTools/bin/MigrationTools4
-rwxr-xr-xTools/bin/fw4
-rwxr-xr-xTools/bin/merge3
5 files changed, 5 insertions, 13 deletions
diff --git a/Tools/bin/ContextTool b/Tools/bin/ContextTool
index c67933eaa6..4870e4006e 100755
--- a/Tools/bin/ContextTool
+++ b/Tools/bin/ContextTool
@@ -9,7 +9,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-# export CLASSPATH=$CLASSPATH:$WORKSPACE/Tools/Jars/ContextTool.jar
# Run Framework Wizard
-java -cp ${WORKSPACE}/Tools/Jars/ContextTool.jar org.tianocore.context.ContextMain $@
+java -cp "${WORKSPACE}/Tools/Jars/ContextTool.jar" org.tianocore.context.ContextMain $@
diff --git a/Tools/bin/FrameworkWizard b/Tools/bin/FrameworkWizard
index fb9e527698..1473909cdb 100755
--- a/Tools/bin/FrameworkWizard
+++ b/Tools/bin/FrameworkWizard
@@ -9,7 +9,5 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-export CLASSPATH=$CLASSPATH:$WORKSPACE/Tools/bin/FrameworkWizard.jar
-
# Run Framework Wizard
-java -Xmx256m org.tianocore.frameworkwizard.FrameworkWizardUI
+java -Xmx256m -cp "$CLASSPATH:$WORKSPACE/Tools/bin/FrameworkWizard.jar" org.tianocore.frameworkwizard.FrameworkWizardUI
diff --git a/Tools/bin/MigrationTools b/Tools/bin/MigrationTools
index fc47bef2eb..b16f956dad 100755
--- a/Tools/bin/MigrationTools
+++ b/Tools/bin/MigrationTools
@@ -9,7 +9,5 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-export CLASSPATH=$CLASSPATH:$WORKSPACE/Tools/bin/MigrationTools.jar
-
# Run Migration Tool
-java org.tianocore.migration.MigrationTool \ No newline at end of file
+java -cp "$CLASSPATH:$WORKSPACE/Tools/bin/MigrationTools.jar" org.tianocore.migration.MigrationTool
diff --git a/Tools/bin/fw b/Tools/bin/fw
index 75f29b0cdd..0f8c80f2c0 100755
--- a/Tools/bin/fw
+++ b/Tools/bin/fw
@@ -9,7 +9,5 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-export CLASSPATH=$CLASSPATH:$WORKSPACE/Tools/bin/FrameworkWizard.jar
-
# Run Framework Wizard
-java org.tianocore.frameworkwizard.FrameworkWizardUI
+java -cp "$CLASSPATH:$WORKSPACE/Tools/bin/FrameworkWizard.jar" org.tianocore.frameworkwizard.FrameworkWizardUI
diff --git a/Tools/bin/merge b/Tools/bin/merge
index 32b1411af0..8bd2efdbda 100755
--- a/Tools/bin/merge
+++ b/Tools/bin/merge
@@ -9,7 +9,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-# export CLASSPATH=$CLASSPATH:$WORKSPACE/Tools/Jars/ContextTool.jar
# Run Framework Wizard
-java -cp ${WORKSPACE}/Tools/bin/Merge.jar org.tianocore.Merge.Merge $@
+java -cp "${WORKSPACE}/Tools/bin/Merge.jar" org.tianocore.Merge.Merge $@