diff options
author | Peter Palfrader <peter@palfrader.org> | 2009-01-18 13:22:45 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2009-01-18 13:22:45 +0000 |
commit | 804f2dd7165997dec896965f141898ec6415edc3 (patch) | |
tree | 77f1db66e6fe97aac028ea0681132a8132d46516 /contrib | |
parent | d81208dbe3042edbddcd82886a248c77bf5c684f (diff) | |
download | tor-804f2dd7165997dec896965f141898ec6415edc3.tar tor-804f2dd7165997dec896965f141898ec6415edc3.tar.gz |
Aliases do not work so well in scripts
svn:r18169
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/directory-archive/fetch-all-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/directory-archive/fetch-all-functions b/contrib/directory-archive/fetch-all-functions index 72cc1caea..a9335bda7 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(<>)' |