Skip to content

Commit

Permalink
Shift used parameters in kkc-package-data.
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Aug 18, 2020
1 parent caf0836 commit 713afb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/kkc-package-data.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,27 @@ func_error ()
--type|-t)
test $# = 0 && func_error "missing argument for $opt" && break
opt_sorted="$1"
shift
;;
--package-name|-N)
test $# = 0 && func_error "missing argument for $opt" && break
opt_package_name="$1"
shift
;;
--package-version|-V)
test $# = 0 && func_error "missing argument for $opt" && break
opt_package_version="$1"
shift
;;
--package-bugreport|-B)
test $# = 0 && func_error "missing argument for $opt" && break
opt_package_bugreport="$1"
shift
;;
--template|-T)
test $# = 0 && func_error "missing argument for $opt" && break
opt_template="$1"
shift
;;
--help)
cat <<EOF
Expand Down

0 comments on commit 713afb1

Please sign in to comment.