From 811829c9b53e9d0b4f2b2abcc1c34c06cb0cdec0 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Wed, 3 Apr 2013 09:20:33 +0000 Subject: [PATCH] debian/ubuntu support internet repo for otherpkgs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 2 +- xCAT-server/lib/perl/xCAT/Template.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index 14870dc6a..b9e69c590 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -465,7 +465,7 @@ sub makescript if ($ref1->{'otherpkgdir'}) { push @scriptd, - "OTHERPKGDIR=" . $ref1->{'otherpkgdir'} . "\n"; + "OTHERPKGDIR='" . $ref1->{'otherpkgdir'} . "'\n"; push @scriptd, "export OTHERPKGDIR\n"; } } diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index 6966970fd..268640ff6 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -1606,7 +1606,7 @@ sub getImageitems_for_node if ($ref1->{'otherpkgdir'}) { $result .= - "OTHERPKGDIR=" . $ref1->{'otherpkgdir'} . "\n"; + "OTHERPKGDIR='" . $ref1->{'otherpkgdir'} . "'\n"; $result .= "export OTHERPKGDIR\n"; } }