diff options
author | gigamicro | 2024-04-14 18:06:15 -0400 |
---|---|---|
committer | gigamicro | 2024-04-14 18:06:15 -0400 |
commit | f23add46c2f6497403e1f9ad1a499705acc46f01 (patch) | |
tree | d381dfe39b1329011ce711b5a0988a84e29bc02f | |
parent | d0423faafeac9100d5f9a38b355fafe0fddd7219 (diff) | |
download | aur-f23add46c2f6497403e1f9ad1a499705acc46f01.tar.gz |
add $1 passthrough in wrapper
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | wfinfo.sh | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -20,6 +20,6 @@ pkgbase = wfinfo-ng-git source = wfinfo-ng::git+https://github.com/knoellle/wfinfo-ng.git source = wfinfo.sh sha256sums = SKIP - sha256sums = 032f68674cd2ad6dc72995ee8d6640d683d2d36be76203cbac51b35da9331bab + sha256sums = 7800638a450794cb66e28d76e81c503750180eb79ef44135f89ddb6cdfc7baee pkgname = wfinfo-ng-git @@ -14,7 +14,7 @@ optdepends=('mlocate: to autodetect EE.log location') provides=('wfinfo') #conflicts=('wfinfo') source=("$_pkgname::git+https://github.com/knoellle/wfinfo-ng.git" 'wfinfo.sh') -sha256sums=('SKIP' '032f68674cd2ad6dc72995ee8d6640d683d2d36be76203cbac51b35da9331bab') +sha256sums=('SKIP' '7800638a450794cb66e28d76e81c503750180eb79ef44135f89ddb6cdfc7baee') pkgver() { cd "$srcdir/$_pkgname" diff --git a/wfinfo.sh b/wfinfo.sh index 9ac7b82dc315..710c0dde0df8 100644 --- a/wfinfo.sh +++ b/wfinfo.sh @@ -12,9 +12,9 @@ fi # wfinfo-ng will create multiple PNG files in $PWD # this would delete them, but we've already got a cache directory anyway #cleanup(){ echo Exit; rm ./*.png; exit 130; }; trap cleanup INT -exec wfinfo-ng "$( +exec wfinfo-ng "${1-$( # find EE.log with most recent modification time locate \*/Warframe/EE.log | xargs -rd \\n stat -c '%Y %n' | sort -n | tail -n 1 | cut -d ' ' -f 2- -)" +)}" |