From 804f2dd7165997dec896965f141898ec6415edc3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 18 Jan 2009 13:22:45 +0000 Subject: [PATCH] Aliases do not work so well in scripts svn:r18169 --- contrib/directory-archive/fetch-all-functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(<>)' -- 2.47.3