]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add VERBOSE=yes support.
authorJim Meyering <jim@meyering.net>
Sun, 7 Apr 2002 15:52:14 +0000 (15:52 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 7 Apr 2002 15:52:14 +0000 (15:52 +0000)
tests/cp/fail-perm

index 160b1e76a2ad656c07b856f185c307f45cf2e098..b6f745084c051231baffc3983cfb27242081d3bf 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+if test "$VERBOSE" = yes; then
+  set -x
+  cp --version
+fi
+
 pwd=`pwd`
 tmp=fail-perm.$$
 trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0