From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Sun, 27 Dec 2009 15:54:09 +0000 (+0000)
Subject: find pkgs.py
X-Git-Tag: coblitz-2.01-rc8~13
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=279874104dbe01e2ce86617a39e0e33bfdc261e0;p=build.git

find pkgs.py
---

diff --git a/build.common b/build.common
index 74683c4f..919106b6 100644
--- a/build.common
+++ b/build.common
@@ -11,6 +11,9 @@
 #
 # supported distros f8, f10, f12, centos5
 #
+# for locating pkgs.py
+export PATH=.:$PATH
+
 # returns 'Fedora' or 'CentOS' for now
 function pl_getDistro() {
     if [ -f "/etc/redhat-release" ] ; then
@@ -508,7 +511,7 @@ function pl_fixdirs() {
 
 ########## .pkgs format
 # Usage: pl_parsePkgs keyword [-a arch] fcdistro pldistro pkgs-file[..s]
-# pkgs.py sohuld be found in PATH, like this file build.common
+# pkgs.py should be found in PATH, like this file build.common
 function pl_parsePkgs () {
     target_arch=$pl_DISTRO_ARCH
     keyword=$1;shift