forked from pool/gswrap
Handle -o option as well
OBS-URL: https://build.opensuse.org/package/show/Printing/gswrap?expand=0&rev=14
This commit is contained in:
parent
673a3e3a6f
commit
eb26033a50
10
gswrap
10
gswrap
@ -71,6 +71,16 @@ do
|
|||||||
-dSAFER)
|
-dSAFER)
|
||||||
let safer++
|
let safer++
|
||||||
;;
|
;;
|
||||||
|
-o)
|
||||||
|
if ((argc+1 >= ${#argv[@]}))
|
||||||
|
then
|
||||||
|
echo "GS: found -o without argument" 1>&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
unset argv[argc]
|
||||||
|
argv[argc+1]=-sOutputFile=${argv[argc+1]}
|
||||||
|
fi
|
||||||
|
;;
|
||||||
-sOutputFile=*)
|
-sOutputFile=*)
|
||||||
case "${arg#-sOutputFile=}" in
|
case "${arg#-sOutputFile=}" in
|
||||||
%stdout%|%stderr%|%stdout|%stderr|-|"")
|
%stdout%|%stderr%|%stdout|%stderr|-|"")
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 20 07:40:46 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Map -o with its argument to -sOutputFile= (boo#1190614)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 7 14:06:36 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
Wed Oct 7 14:06:36 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gswrap
|
# spec file for package gswrap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,7 +31,7 @@ Requires: sed
|
|||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%define debug_package %nil
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user