aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2003-01-13 18:30:47 +0000
committerBill Fenner <fenner@FreeBSD.org>2003-01-13 18:30:47 +0000
commitc861483226f0674e3edb2b71726332ceda8ca409 (patch)
tree61d12da37611cf86320e651a19a78d29477d3b81
parente13d30475ee2079a21452da54fe73d50ac58957d (diff)
downloadports-c861483226f0674e3edb2b71726332ceda8ca409.tar.gz
ports-c861483226f0674e3edb2b71726332ceda8ca409.zip
Notes
-rw-r--r--chinese/mozilla-tclp/files/mozver2
1 files changed, 1 insertions, 1 deletions
diff --git a/chinese/mozilla-tclp/files/mozver b/chinese/mozilla-tclp/files/mozver
index 9835c740cb02..9ba7929b7ce3 100644
--- a/chinese/mozilla-tclp/files/mozver
+++ b/chinese/mozilla-tclp/files/mozver
@@ -1,3 +1,3 @@
#!/bin/sh
# this script is used to detect Mozilla revision only.
-$2 -v | $1 's/.*rv://; s/).*//'
+[ -f $2 ] && $2 -v | $1 's/.*rv://; s/).*//'