changeset 104:82aac84c3665

added default SID if none has been specified
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 01:43:26 +0900
parents 368a68c9d579
children 29e7a40e6587
files do-record.sh.pt1
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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