conf/jcs, make, scripts: Rename jw-build's get_os.sh to get-os.sh

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-06-12 09:35:57 +00:00
commit 3961d47f07
7 changed files with 6 additions and 6 deletions

0
scripts/get_os.sh → scripts/get-os.sh Normal file → Executable file
View file

View file

@ -2037,7 +2037,7 @@ JNT_JCSDIR=/tmp
--<<<-- jcs.conf.oldstyle --
-->>>-- jcs.conf --
jcs_dir=$HOME/local/src/jw.dev/conf/`hostname -d`/`hostname -s`/`/opt/jw-build/bin/get_os.sh`
jcs_dir=$HOME/local/src/jw.dev/conf/`hostname -d`/`hostname -s`/`/opt/jw-build/bin/get-os.sh`
jcs_owner=root
jcs_group=root
jcs_log_dir=$jcs_dir/log

View file

@ -36,7 +36,7 @@ fatal()
os()
{
/bin/bash $MOD_SCRIPT_DIR/get_os.sh
/bin/bash $MOD_SCRIPT_DIR/get-os.sh
}
scm_commit()

View file

@ -45,7 +45,7 @@ def remove_duplicates(seq):
def get_os(args = ""):
for d in [ projs_root + '/jw-build/scripts', '/opt/jw-build/bin' ]:
script = d + '/get_os.sh'
script = d + '/get-os.sh'
if isfile(script):
cmd = '/bin/bash ' + script
if args: