diff options
author | Adam Goldsmith | 2020-04-08 20:13:14 -0400 |
---|---|---|
committer | Adam Goldsmith | 2020-04-08 20:13:14 -0400 |
commit | 890a84651887f3ba245da6b4cbd47f22dc048a5e (patch) | |
tree | b68ff758edcbee2e81278b38ed0d7add9d979a12 | |
parent | bed17ea5805ff9635e581c9be3349add51fe14c4 (diff) | |
download | aur-890a84651887f3ba245da6b4cbd47f22dc048a5e.tar.gz |
Use bash substitution instead of external call to dirname
-rwxr-xr-x | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ options=('!strip' '!emptydirs') _gourl=github.com/bemasher/rtlamr prepare(){ - mkdir -p gopath/src/$(dirname $_gourl) + mkdir -p gopath/src/${_gourl%/*} ln -rTsf $pkgname-$pkgver gopath/src/$_gourl } |