kpatch-build: fix getopt typo for --target

This commit is contained in:
Josh Poimboeuf 2014-06-18 16:03:42 -05:00
parent bff0608cb0
commit 2e14094844
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ usage() {
echo " -d, --debug Keep scratch files in /tmp" >&2 echo " -d, --debug Keep scratch files in /tmp" >&2
} }
options=$(getopt -o hr:s:c:v:t:d -l "help,sourcerpm:,sourcedir:,config:,vmlinux:,target:debug" -- "$@") || die "getopt failed" options=$(getopt -o hr:s:c:v:t:d -l "help,sourcerpm:,sourcedir:,config:,vmlinux:,target:,debug" -- "$@") || die "getopt failed"
eval set -- "$options" eval set -- "$options"