diff --git a/dots/bin/tp.sh b/dots/bin/tp.sh index 58245e0..af2d40a 100755 --- a/dots/bin/tp.sh +++ b/dots/bin/tp.sh @@ -41,6 +41,7 @@ for input_file in "$@"; do for line in "${theArray[@]}" do + bare_line=${line} #echo "$line" >> ${log_file} # if input file has no path specified @@ -62,7 +63,7 @@ for input_file in "$@"; do if [[ -f "${new_file}" ]] || [[ -d "${new_file}" ]] ; then #trash-put "${new_file}" #trash-put - echo $line + echo $bare_line #echo "trash-put ${new_file}" #echo "${new_file}" >> ${log_file} else