Skip to content

Commit 1c18f09

Browse files
committed
Fix redirection for MacOS
1 parent 310192c commit 1c18f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/metafx-modules/feature_analysis.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ while read sample ; do
165165
echo -n "Processing sample ${sample} (log saved to ${w}/metacherchant.log) ... "
166166

167167
echo "${cmd2_i}" >> ${w}/metacherchant.log
168-
${cmd2_i} &>> ${w}/metacherchant.log
168+
${cmd2_i} 2>&1 >> ${w}/metacherchant.log
169169
if [[ $? -eq 0 ]]; then
170170
echo "DONE"
171171
else

0 commit comments

Comments
 (0)