# HG changeset patch # User Yoshiki Yazawa # Date 1267980206 -32400 # Node ID 82aac84c3665e0dacd97a076286d1e5203f4fcf5 # Parent 368a68c9d5795b5fbc877009504f35c07e1397fb added default SID if none has been specified diff -r 368a68c9d579 -r 82aac84c3665 do-record.sh.pt1 --- a/do-record.sh.pt1 Mon Mar 08 01:25:16 2010 +0900 +++ b/do-record.sh.pt1 Mon Mar 08 01:43:26 2010 +0900 @@ -15,6 +15,10 @@ if [ $SID = 'hd' ]; then SID=$CHANNEL fi ;; + *) + if [ -z $SID ]; then + SID='hd' + fi ;; esac if [ ${MODE} == 0 ]; then