From cd78dd4ed03d04ba85c9cd0585670b07816dfd8f Mon Sep 17 00:00:00 2001 From: immarvin Date: Wed, 21 May 2014 01:34:43 -0700 Subject: [PATCH] fix defect #4128 [fvt]2.8.4:ubuntu 12.04 lsxcat -v could get version info --- perl-xCAT/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/debian/rules b/perl-xCAT/debian/rules index d98c40834..e5a0aa6fd 100755 --- a/perl-xCAT/debian/rules +++ b/perl-xCAT/debian/rules @@ -48,7 +48,7 @@ binary-arch: build install chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man5/* chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/man/man7/* chmod 644 `pwd`/debian/perl-xcat/opt/xcat/share/doc/man7/* - ./modifyUtils `cat ../Version` `svn info | grep Revision | cut -d" " -f 2` + ./modifyUtils `cat ../Version` `git log -n 1 | head -n 1 | cut -f 2 -d ' '` # dh_installmenu # dh_installdebconf # dh_installlogrotate