From 6bd358282ae7b63b3bf5f75da6c922e638fefbcd Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 29 Jul 2014 21:30:39 +0100 Subject: Move the --dry-run handling into the functions file. --- mga-hdlists-cauldron | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mga-hdlists-cauldron') diff --git a/mga-hdlists-cauldron b/mga-hdlists-cauldron index ca85344..dfa4ca4 100755 --- a/mga-hdlists-cauldron +++ b/mga-hdlists-cauldron @@ -9,11 +9,6 @@ else . /usr/share/mgatools/functions fi -if [ "$1" = "--dry-run" ]; then - dryrun=echo - shift -fi - if [ $# != 2 ]; then echo "Usage: $0 [--dry-run]
" >&2 exit 1 -- cgit v1.2.1