summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-03-30 19:49:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-03-30 19:49:10 +0000
commitccc1ec1680f7855ed0e79c0fd20f15be416fe16e (patch)
tree21c7261d691a79842be5e31b184f6606fcbeada0
parenta7b0000304205a3b1e158a00edba9f546acf885d (diff)
SORTPROG needs to be exported for use by the xsort script.
-rw-r--r--regress/usr.bin/sort/stests5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/sort/stests b/regress/usr.bin/sort/stests
index 9034e72993c..5483934905b 100644
--- a/regress/usr.bin/sort/stests
+++ b/regress/usr.bin/sort/stests
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: stests,v 1.7 2015/01/05 20:09:25 millert Exp $
+# $OpenBSD: stests,v 1.8 2015/03/30 19:49:09 millert Exp $
# from: @(#)stests 8.1 (Berkeley) 6/6/93
#Latest version. My sort passes all tests because I wrote it.
@@ -14,7 +14,8 @@
#On 25H, your answer is as defensible as mine. (Our suggestion
#*1 backs mine.)
-SORTPROG=sort
+: ${SORTPROG=sort}
+export SORTPROG
# Tests for the Unix sort utility
# Test Posix features except for locale.