Permalink
Browse files

fixed pesky \r from getting into work array, AGAIN!

  • Loading branch information...
graysky2 committed Nov 29, 2012
1 parent a34cd2c commit 51049bc30becb30aad5a0e12cf1a3c0668f84ecf
Showing with 3 additions and 3 deletions.
  1. +3 −3 profile-cleaner
View
@@ -44,7 +44,7 @@ do_xulbased() {
[[ ! -f $profilepath/profiles.ini ]] && echo "Error: cannot locate $profilepath/profiles.ini to determine names of profiles." && exit 1
# workArr is a raw list of profiles
- workArr=( $(grep '[P,p]'ath $profilepath/profiles.ini | sed -e 's/[P,p]ath=//') ) # read each profile into the work array
+ workArr=( $(grep '[P,p]'ath $profilepath/profiles.ini | sed -e 's/[P,p]ath=//' -e 's/\r//') ) # read each profile into the work array
# FinalArr is a processed list of profiles
# they are formated to abs paths since some are rel and some are abs
@@ -73,8 +73,8 @@ do_conkeror() {
}
do_heftig-aurora() {
-prepath=$HOME/.mozilla/aurora
-do_xulbased
+ prepath=$HOME/.mozilla/aurora
+ do_xulbased
}
do_thunderbird() {

0 comments on commit 51049bc

Please sign in to comment.