diff options
author | Lucas Werkmeister | 2018-07-31 00:20:59 +0200 |
---|---|---|
committer | Lucas Werkmeister | 2018-07-31 00:20:59 +0200 |
commit | 122940bcf46f7c4d58c754d0e7a5e7ebb8254e4c (patch) | |
tree | aecfdf7765eebd5c744ee642c93ed02108b5063c | |
parent | a15e27b2d759a821b9a7e485dda92cb0b3fd2e92 (diff) | |
download | aur-122940bcf46f7c4d58c754d0e7a5e7ebb8254e4c.tar.gz |
Fix location of LICENSE file
With -t, the target is always treated as a directory, including the last
component. Instead, swap the arguments back into SOURCE DEST order, and
use the -T option to ensure that DEST really is a file.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ package() { ln -s -- "$target" "$pkgdir/usr/lib/jvm/java-8-graal/$name" done < META-INF/symlinks - install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/LICENSE" jre/languages/python/LICENSE_GRAALPYTHON + install -DTm644 jre/languages/python/LICENSE_GRAALPYTHON "$pkgdir/usr/share/licenses/$pkgname/LICENSE" ln -s ../lib/jvm/java-8-graal/bin/${pkgname_} "$pkgdir/usr/bin/" } |