From f64230a209bd1ad173de08b7f33367a20f518012 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 21 Jan 2019 12:30:25 +0100 Subject: [PATCH] change user config file path to ~/.config/srslte --- cmake/modules/SRSLTE_install_configs.sh.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/modules/SRSLTE_install_configs.sh.in b/cmake/modules/SRSLTE_install_configs.sh.in index 671bd99ae..6f45a1e7c 100755 --- a/cmake/modules/SRSLTE_install_configs.sh.in +++ b/cmake/modules/SRSLTE_install_configs.sh.in @@ -9,7 +9,7 @@ then echo "Please call script with either user or service as first parameter." echo "" echo "E.g. ./srslte_install_configs.sh user" - echo " .. to install all config files to $HOME/.srs" + echo " .. to install all config files to $HOME/.config/srslte" echo "" echo "E.g. ./srslte_install_configs.sh service" echo " .. to install all config files to /etc/srslte" @@ -18,7 +18,7 @@ fi if [ "$1" == "user" ] then - dest_folder="$HOME/.srs" + dest_folder="$HOME/.config/srslte" elif [ "$1" == "service" ] then dest_folder="/etc/srslte" @@ -60,7 +60,7 @@ echo "Installing srsLTE configuration files:" # Make sure the target directory exists if [ ! -d "$dest_folder" ]; then echo " - Creating srsLTE config folder $dest_folder" - mkdir $dest_folder + mkdir -p $dest_folder if [ $? -ne 0 ]; then exit fi