History

replace retcode arithmetics with strcat

Serge Zirukin committed 16 years ago

Commit 053f5fa1 parent 555d8201 file · +4 −4Browse files

Unified · Split

split2flac.sh+4−4
@@ -380,12 +380,12 @@ split_file ( ) { · 379 unmodified lines
380380
381381 if [ -n "${TAG_DATE}" ]; then
382382 ${METAFLAC} --set-tag="DATE=${TAG_DATE}" "${FINAL}" >/dev/null
383− RES=$((${RES} + $?))
383+ RES=$RES$?
384384 fi
385385
386386 if [ -n "${PIC}" ]; then
387387 ${METAFLAC} --import-picture-from="${PIC}" "${FINAL}" >/dev/null
388− RES=$((${RES} + $?))
388+ RES=$RES$?
389389 fi
390390 ;;
391391
@@ -400,7 +400,7 @@ split_file ( ) { · 8 unmodified lines
400400
401401 if [ -n "${TAG_DATE}" ]; then
402402 ${ID3TAG} -y"${TAG_DATE}" "${FINAL}" >/dev/null
403− RES=$((${RES} + $?))
403+ RES=$RES$?
404404 fi
405405 ;;
406406
@@ -414,7 +414,7 @@ split_file ( ) { · 7 unmodified lines
414414
415415 if [ -n "${TAG_DATE}" ]; then
416416 ${VORBISCOMMENT} "${FINAL}" -t "DATE=${TAG_DATE}" >/dev/null
417− RES=$((${RES} + $?))
417+ RES=$RES$?
418418 fi
419419 ;;
420420

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t