diff options
author | Werner Koch <[email protected]> | 2003-12-09 09:07:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-12-09 09:07:09 +0000 |
commit | be294cbb14337f928cffdf0d40e27206e26fd30e (patch) | |
tree | ec9c512e025522a96eaec622d71e3a6f70924a58 /scripts/missing | |
parent | This commit was manufactured by cvs2svn to create branch (diff) | |
download | gnupg-be294cbb14337f928cffdf0d40e27206e26fd30e.tar.gz gnupg-be294cbb14337f928cffdf0d40e27206e26fd30e.zip |
Added files we better keep in the CVS
Diffstat (limited to '')
-rwxr-xr-x | scripts/missing | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/missing b/scripts/missing index dd583709f..6a37006e8 100755 --- a/scripts/missing +++ b/scripts/missing @@ -1,6 +1,6 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <[email protected]>, 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 ${1+"$@"} && exit 0 + gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then - gtar ${1+"$@"} && exit 0 + gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" ${1+"$@"} && exit 0 + tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" ${1+"$@"} && exit 0 + tar "$firstarg" "$@" && exit 0 ;; esac fi |