"Fossies" - the Fresh Open Source Software Archive

Member "pacpl-code/patches/80-fix_enforce_outdir_switch_if_p_switch_is_used.patch" (22 Aug 2019, 673 Bytes) of package /linux/privat/pacpl-6.1.3.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Description: If the user use the --preserve flag, he must use the --outdir flag too, we enforce that.
    2 Author: Maxime Chatelle <xakz@rxsoft.eu>
    3 Last-Updated: 2014-10-29
    4 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697519
    5 Forwarded: no
    6 Index: git/pacpl
    7 ===================================================================
    8 --- git.orig/pacpl  2014-10-29 11:18:15.544344979 +0100
    9 +++ git/pacpl   2014-10-29 11:27:13.592321550 +0100
   10 @@ -352,6 +352,10 @@
   11     'cdinfo'      => \$cdinfo,
   12  );
   13  
   14 +if (defined($preserve) && !defined($outdir)) {
   15 +   die "You must specify --outdir when you use --preserve option. See man page.\n";
   16 +}
   17 +
   18  $silent = '' if $verbose;
   19  my $opts;
   20