From 878603ef418c8321ec7ed0e2028a72112e243988 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Mon, 12 Jan 2009 13:00:24 -0500 Subject: [PATCH] fix bug in build-package.sh Signed-off-by: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> --- build-package.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/build-package.sh b/build-package.sh index a9b35bcc5c..17dd7da49e 100755 --- a/build-package.sh +++ b/build-package.sh @@ -23,21 +23,16 @@ arch_flag=`getconf -a|grep LONG_BIT | sed -e 's/LONG_BIT\s*//'` os_version=`lsb_release -d -s -c | sed -e '1d'` # If intrepid(Ubuntu8.10), then use appropriate changelog file -cp sflphone/debian/changelog..$os_version sflphone/debian/changelog -#if [ $os_version == "intrepid" ];then -# cp sflphone/debian/changelog.intrepid sflphone/debian/changelog -#else -# cp sflphone/debian/changelog.hardy sflphone/debian/changelog -#fi +cp sflphone/debian/changelog.$os_version sflphone/debian/changelog # Remove useless git directory rm sflphone/.git/ -rf # Copy the appropriate control file based on different archtecture if [ $arch_flag -eq 32 ];then - cp sflphone/debian/control..$os_version..i386 sflphone/debian/control + cp sflphone/debian/control.$os_version.i386 sflphone/debian/control elif [ $arch_flag -eq 64 ];then - cp sflphone/debian/control..$os_version..amd64 sflphone/debian/control + cp sflphone/debian/control.$os_version.amd64 sflphone/debian/control fi echo "Building sflphone package on Ubuntu $os_version $arch_flag bit architecture...." -- GitLab