diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-11-24 20:59:25 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-11-24 20:59:25 +0000 |
commit | 5bda878e3e95c125f9bead8f22cee8cf2a298555 (patch) | |
tree | 1e090f07ab7ae3acaf4198828984ee6fe1b1d084 /crypto/heimdal/missing | |
parent | 5ead950622ac8fcd1e64e19ac09cfc7ddbcf41bc (diff) | |
download | src-test2-5bda878e3e95c125f9bead8f22cee8cf2a298555.tar.gz src-test2-5bda878e3e95c125f9bead8f22cee8cf2a298555.zip |
Import of Heimdal 0.5.1.
Approved by: re
Notes
Notes:
svn path=/vendor-crypto/heimdal/dist/; revision=107207
Diffstat (limited to 'crypto/heimdal/missing')
-rw-r--r-- | crypto/heimdal/missing | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/heimdal/missing b/crypto/heimdal/missing index 6a37006e8f0a..dd583709f535 100644 --- a/crypto/heimdal/missing +++ b/crypto/heimdal/missing @@ -1,6 +1,6 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. +# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify @@ -293,23 +293,23 @@ WARNING: \`$1' is missing on your system. You should only need it if # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 + gnutar ${1+"$@"} && exit 0 fi if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 + gtar ${1+"$@"} && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 + tar "$firstarg" ${1+"$@"} && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 + tar "$firstarg" ${1+"$@"} && exit 0 ;; esac fi |