Patchwork [11/33] create-lsb-iamge:Fix bugs

login
register
mail settings
Submitter Saul Wold
Date May 3, 2011, 11:44 p.m.
Message ID <edaa3afe817dda76d44cadcc6ec348b6c2932ff3.1304465724.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/3147/
State New, archived
Headers show

Comments

Saul Wold - May 3, 2011, 11:44 p.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Change variables "${ARCH}" to "${1}"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 scripts/create-lsb-image |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/scripts/create-lsb-image b/scripts/create-lsb-image
index 94cb337..48b96e2 100755
--- a/scripts/create-lsb-image
+++ b/scripts/create-lsb-image
@@ -81,7 +81,7 @@  case ${1} in
     ;;
 "ppc32")
     P_ARCH=ppc
-    T_ARCH=${ARCH}
+    T_ARCH=${1}
     COM_PACKAGE_LIST="lsb-dist-testkit-4.1.0-5.${T_ARCH}.tar.gz"
     ;;
 *)