1
0
forked from pool/gnu_parallel
Dominique Leuenberger 2022-08-05 17:52:01 +00:00 committed by Git OBS Bridge
commit ec8f2991c2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 5 14:58:48 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Use full path for perl interpreter to fix
"/usr/bin/parallel: perl: bad interpreter: No such file or directory"
-------------------------------------------------------------------
Mon Jul 25 06:31:00 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -83,7 +83,7 @@ This subpackage contains the zsh completion for Parallel.
cp -a CITATION NEWS README "%buildroot/%_docdir/%name/"
# fix shebang to to not use env & preserve the time stamps
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!perl:" "%buildroot/%_bindir/parallel"
sed -i.orig "s:^#\!/usr/bin/env\s\+perl\s\?$:#!/usr/bin/perl:" "%buildroot/%_bindir/parallel"
touch -r "%buildroot/%_bindir/parallel.orig" "%buildroot/%_bindir/parallel"
rm "%buildroot/%_bindir/parallel.orig"