diff options
author | nectar <nectar@FreeBSD.org> | 2002-11-24 20:59:25 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-11-24 20:59:25 +0000 |
commit | 1abd325d288bd51f6ca702d7fbf296a6f47f7e74 (patch) | |
tree | 1e090f07ab7ae3acaf4198828984ee6fe1b1d084 /crypto/heimdal/missing | |
parent | 3d945415d6fa7a88b4754fd38a897dafd21685f7 (diff) | |
download | FreeBSD-src-1abd325d288bd51f6ca702d7fbf296a6f47f7e74.zip FreeBSD-src-1abd325d288bd51f6ca702d7fbf296a6f47f7e74.tar.gz |
Import of Heimdal 0.5.1.
Approved by: re
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 6a37006..dd58370 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 |