Changes between Version 13 and Version 14 of Plugins/Execute


Ignore:
Timestamp:
04/25/2011 10:48:24 PM (13 years ago)
Author:
mrmb
Comment:

Bash treats the double-quotes inside the command substitution as one pair, and the double-quotes outside the substitution as another pair. We need both here or paths with spaces etc screw up the script.

Legend:

Unmodified
Added
Removed
Modified
  • Plugins/Execute

    v13 v14  
    150150    while read file; do  
    151151        log "Extracting \"$file\"" 
    152         cd $(dirname "$file") 
     152        cd "$(dirname "$file")" 
    153153        file=$(basename "$file") 
    154154        # if extraction_subdir is not empty, extract to subdirectory