Permalink
Browse files

fixed the dreaded \r from getting into work array

  • Loading branch information...
1 parent 977721f commit c6a6c6eb6d150eb5fb40e1743801bc584c74dc3e @graysky2 committed Dec 9, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 CHANGELOG
  2. +2 −2 profile-cleaner
View
@@ -1,3 +1,7 @@
+v1.94
+09-Dec-2012
+Fixed the dreaded \r from getting into work array.
+
v1.93
09-Dec-2012
Firefox/aurora profiles can now contain spaces and profile-cleaner will process them.
View
@@ -1,6 +1,6 @@
#!/bin/bash
export BLD="\e[01m" RED="\e[01;31m" GRN="\e[01;32m" YLW="\e[01;33m" NRM="\e[00m"
-VERS="1.93"
+VERS="1.94"
if [[ -z $(which parallel) ]]; then
echo -e ${RED}"Error: GNU Parallel is now a requirement of this script. Please install it and try again."${NRM}
@@ -69,7 +69,7 @@ do_xulbased() {
#
profiles_extracted=/tmp/$name.tmplist
- grep '[P,p]'ath $profilepath/profiles.ini | sed -e 's/[P,p]ath=//' >$profiles_extracted
+ grep '[P,p]'ath $profilepath/profiles.ini | sed -e 's/[P,p]ath=//' -e 's/\r//' >$profiles_extracted
#
# build an array correcting for rel and abs paths therein

0 comments on commit c6a6c6e

Please sign in to comment.