aboutsummaryrefslogtreecommitdiff
path: root/etc/wpdf
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-22 11:39:23 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-22 11:39:23 +0200
commit6dca5c66b35e27d7996cc13d8f790b74b304c805 (patch)
treec7243f3e35daeda5aa5cccaf63b1ddc107577dae /etc/wpdf
parent30513b181895cfa1a9035514aabf49c43c5bf0ea (diff)
downloadxutil-6dca5c66b35e27d7996cc13d8f790b74b304c805.tar.gz
wpdf: Update name of watch to when
Diffstat (limited to 'etc/wpdf')
-rwxr-xr-xetc/wpdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/wpdf b/etc/wpdf
index bbfae4b..6e8f951 100755
--- a/etc/wpdf
+++ b/etc/wpdf
@@ -68,7 +68,7 @@ for my $target (@ARGV) {
die "no dependencies found\n" if not keys %deptarget;
# make pdf on demand
-open my $p, '-|', 'watch', keys %deptarget
+open my $p, '-|', 'when', keys %deptarget
or die "could not start watch: $!\n";
while (<$p>) {
chomp;