Skip to content

Commit 9e244c5

Browse files
committed
removed -name flag in run command because of conflict, hint for an absolut path because ~ wont get expanded
1 parent c88dc3f commit 9e244c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ insert_alias() {
7474
echo -e "${dgreen}Creating aliases in $sh .....${white}"
7575
echo "alias $ali_init=\"bash $path/init_docker.sh\"" >> "$sh"
7676
echo "alias $ali_build=\"docker build -t valgrind - < $path/valgrind\"" >> "$sh"
77-
echo "alias $ali_valgrind='docker run -ti --name valgrind -v \$PWD:/code -v \"$path/root\":/root valgrind bash'" >> "$sh"
77+
echo "alias $ali_valgrind='docker run -ti -v \$PWD:/code -v \"$path/root\":/root valgrind bash'" >> "$sh"
7878
}
7979

8080
check_configs
@@ -97,7 +97,7 @@ read -r ali_valgrind
9797
create_alias "$ali_valgrind" "dv"
9898
ali_valgrind="$ali"
9999

100-
echo -en "${magenta}Please enter a path to store your setup [~/.docker_valgrind_setup]:${white}"
100+
echo -en "${magenta}Please enter an absolut path to store your setup [~/.docker_valgrind_setup]:${white}"
101101
read -r path
102102
if [[ "$path" == "" ]]
103103
then

0 commit comments

Comments
 (0)