Use proper indexes for input arguments again
This commit is contained in:
@@ -27,11 +27,11 @@ then
|
|||||||
else
|
else
|
||||||
if [ "$1" = "-l" ]
|
if [ "$1" = "-l" ]
|
||||||
then
|
then
|
||||||
echo "Looping through $3"
|
echo "Looping through $2"
|
||||||
while read flacfile; do
|
while read flacfile; do
|
||||||
echo "Processing line $flacfile"
|
echo "Processing line $flacfile"
|
||||||
fix_flac_file "$flacfile"
|
fix_flac_file "$flacfile"
|
||||||
done < "$3"
|
done < "$2"
|
||||||
exit 0;
|
exit 0;
|
||||||
else
|
else
|
||||||
echo "moving to $2"
|
echo "moving to $2"
|
||||||
|
|||||||
Reference in New Issue
Block a user