Fix a few typos

This commit is contained in:
Jonathan Neuschäfer 2018-03-18 11:03:14 +01:00 committed by Carlo Landmeter
parent e6ce1f1151
commit 33183dadf5
2 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ int main(int argc, char *argv[])
destdir = optarg; destdir = optarg;
break; break;
default: default:
printf("Unkonwn option '%c'\n", opt); printf("Unknown option '%c'\n", opt);
return usage(1); return usage(1);
break; break;
} }

View File

@ -242,7 +242,7 @@ default_sanitycheck() {
if ! options_has "!check" && [ -n "$REQUIRE_CHECK" ]; then if ! options_has "!check" && [ -n "$REQUIRE_CHECK" ]; then
(unset check; . "$APKBUILD"; type check >/dev/null 2>&1) || \ (unset check; . "$APKBUILD"; type check >/dev/null 2>&1) || \
die "Testsuites (abuild check) are required or needs to be explicitly disabled!" die "Testsuites (abuild check) are required or need to be explicitly disabled!"
fi fi
check_provides || die "provides must not contain $pkgname" check_provides || die "provides must not contain $pkgname"
@ -736,7 +736,7 @@ pre_split() {
if [ -z "$subpkgname" ]; then if [ -z "$subpkgname" ]; then
return 0 return 0
fi fi
# the subpackages should not inherit those form main package # the subpackages should not inherit those from main package
provides="" provides=""
install_if="" install_if=""
} }