summaryrefslogtreecommitdiff
blob: 279e990ff91d9750c656277451d12756889ea542 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- dvd-slideshow.orig	2006-03-10 06:56:54.000000000 +0100
+++ dvd-slideshow	2006-06-20 13:09:06.000000000 +0200
@@ -622,7 +622,7 @@
 if [ -f "${HOME}/.dvd-slideshowrc" ] ; then
 	myecho "[dvd-slideshow] Reading default variables in ${HOME}/.dvd-slideshowrc"
 	tmptxtfile="tmp_txtfile.txt"
-	total_lines=`wc -l "$input_txtfile" | awk '{print $1}'`
+	total_lines=`wc -l "${input_txtfile}" | awk '{print $1}'`
 	total_lines=$(( $total_lines + 1 ))
 	line=1
 	while [ $line -ne $total_lines -a $total_lines -ne 0 ];