summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Tiago Pereira <mt.pereira@gmail.com>2018-01-23 13:45:30 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-04-11 15:34:14 +0000
commit38620eeb9fd3510ed20ad5bd465f24bfb5c0faaa (patch)
tree3341b596f2bb5f1b9a85735f1b3e2debd2685e32
parent33183dadf50b2cae18fbd7fee0723a3829eac166 (diff)
downloadabuild-38620eeb9fd3510ed20ad5bd465f24bfb5c0faaa.tar.gz
abuild-38620eeb9fd3510ed20ad5bd465f24bfb5c0faaa.tar.bz2
abuild-38620eeb9fd3510ed20ad5bd465f24bfb5c0faaa.tar.xz
abuild-38620eeb9fd3510ed20ad5bd465f24bfb5c0faaa.zip
Make file missing in source var explicit.
I've forgot to add a patch file to the source variable in an APKBUILD, altought I did add it to the sums variable. The error message made it seem that I've forgot to add the file to the source directory, which led me to check if my build system was missing the files for some reason. Only after reading the `abuild.in` file did I understood what happened. Hopefully this change makes the message clearer and more helpful.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 7aac818..b27a460 100644
--- a/abuild.in
+++ b/abuild.in
@@ -220,7 +220,7 @@ default_sanitycheck() {
while [ $# -gt 1 ]; do
local file="$2"
shift 2
- source_has $file || die "$file exists in ${algo}sums but is missing in source"
+ source_has $file || die "$file exists in ${algo}sums but is missing in \$source"
done
done