☰
Debian Codegraph
@
8:7.1.2.31+dfsg1-1
8:7.1.2.29+dfsg2-1
8:7.1.2.27+dfsg1-1
8:7.1.2.25+dfsg1-2
8:7.1.2.25+dfsg1-1
8:7.1.2.24+dfsg1-1
/
/
debian
/
scripts
/
dh-exec-subst-env
☽
☼
debian/scripts/dh-exec-subst-env
code
plain
raw
ImageMagick
1998-2000, Scott K. Ellis; 2000-2006, Ryuichi Arafune; 2004-2008, Daniel Kobras; 2008, Luciano Bello; 2008-2010, Nelson A. de Oliveira; 2009-2019, Bastien ROUCARIÈS; 2011-2015, Vincent Fourmond
debian/copyright
1
#! /usr/bin/perl -wnp
2
##
3
## This does nothing else, but substitute ${...} with the
4
## corresponding environment variable, or the original ${...} if the
5
## env. var does not exist.
6
s/(\$\{([^\}]+)\})/exists $ENV{$2} ? $ENV{$2} : $1/eg;