Fix path for hostname command 54/39054/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 18 May 2016 16:19:38 +0000 (12:19 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 18 May 2016 16:21:33 +0000 (12:21 -0400)
Ubuntu uses /bin/hostname and centos systems support that path too.

Change-Id: I56a4804b1b6b0f97e88e57bec29b6197df0ae752
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jenkins-scripts/system_type.sh

index 4d8c8c77088a3a0b6102f392347e07c9107cd7fd..73160a363c1db78737cbe7b7fa58b46c0f3b08f5 100755 (executable)
@@ -10,7 +10,7 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-HOST=$(/usr/bin/hostname)
+HOST=$(/bin/hostname)
 SYSTEM_TYPE=''
 
 IFS=','