From 6f638911470928dcc3089617b547ccdf7096b175 Mon Sep 17 00:00:00 2001 From: Carlos Brandt Date: Mon, 11 Dec 2017 10:22:20 +0100 Subject: [PATCH] Silence internall messages when 'install' --- bin/create_links.sh | 7 +++---- install.sh | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/create_links.sh b/bin/create_links.sh index 41f6f40..e5c7a4f 100755 --- a/bin/create_links.sh +++ b/bin/create_links.sh @@ -3,12 +3,11 @@ create_links(){ local HERE=$(cd `dirname $BASH_SOURCE`; pwd) local HSRC=${HERE}/src - local LINKS=${HERE}/links + local LINKS=${HERE}/links [[ -d $LINKS ]] || mkdir $LINKS - + for bin in `cat ${HSRC}/heasoft_binaries.txt`; do - ln -s ${HSRC}/_headocker.sh ${LINKS}/$bin + ln -sf ${HSRC}/_headocker.sh ${LINKS}/$bin done } create_links - diff --git a/install.sh b/install.sh index d46244c..c562468 100755 --- a/install.sh +++ b/install.sh @@ -5,8 +5,8 @@ source_create(){ source ${HERE}/bin/create_links.sh - echo "Run the following line to make docker-heasoft binaries available" - echo "on your environment:" + echo "# Run the following line to make docker-heasoft binaries available" + echo "# on your environment:" echo "#----------" echo "export PATH=\"${HERE}/bin/links:\$PATH\"" echo "#----------"