From 1b805cda4a6be71a2d65e9c6b66df668f9e84855 Mon Sep 17 00:00:00 2001 From: VKamyshniy Date: Thu, 20 Nov 2014 13:32:49 +0200 Subject: [PATCH] [Summary] Bug fix --- tools/dev_tools/windows/rmp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/dev_tools/windows/rmp b/tools/dev_tools/windows/rmp index 0ac2aa3987..3d28a84dc4 100644 --- a/tools/dev_tools/windows/rmp +++ b/tools/dev_tools/windows/rmp @@ -1,8 +1,7 @@ -path_to_preferences=/C/Users/Daw/AppData/Local/'Tracks Live' -if [ -d /C/Users/Daw/AppData/Local/'Tracks Live'/ ] ; then +path_to_preferences="$HOME/AppData/Local/Tracks Live" +if [ -d "$HOME/AppData/Local/Tracks Live/" ] ; then # delete Preferences - echo "Folder:" $path_to_preferences "was deleted" - rm -rf /C/Users/Daw/AppData/Local/'Tracks Live'/ + rm -rf "$path_to_preferences" else - echo "Folder:" $path_to_preferences "wasn't found" + echo "Folder: '$path_to_preferences' could not be found!" fi \ No newline at end of file