From: Peter Palfrader Date: Sun, 18 Jan 2009 13:22:45 +0000 (+0000) Subject: Aliases do not work so well in scripts X-Git-Tag: tor-0.2.1.11-alpha~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=804f2dd7165997dec896965f141898ec6415edc3;p=thirdparty%2Ftor.git Aliases do not work so well in scripts svn:r18169 --- diff --git a/contrib/directory-archive/fetch-all-functions b/contrib/directory-archive/fetch-all-functions index 72cc1caeaa..a9335bda7b 100644 --- a/contrib/directory-archive/fetch-all-functions +++ b/contrib/directory-archive/fetch-all-functions @@ -72,7 +72,9 @@ fetch_digest() { } if [ -x /usr/bin/base64 ] ; then - alias base64-decode='/usr/bin/base64 -d' + base64-decode() { + /usr/bin/base64 -d + } else base64-decode() { perl -MMIME::Base64 -e 'print decode_base64(<>)'