summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/missing
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/missing')
-rw-r--r--crypto/heimdal/missing10
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
OpenPOWER on IntegriCloud