aboutsummaryrefslogtreecommitdiff
path: root/contrib/directory-archive
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2009-01-18 13:22:45 +0000
committerPeter Palfrader <peter@palfrader.org>2009-01-18 13:22:45 +0000
commit804f2dd7165997dec896965f141898ec6415edc3 (patch)
tree77f1db66e6fe97aac028ea0681132a8132d46516 /contrib/directory-archive
parentd81208dbe3042edbddcd82886a248c77bf5c684f (diff)
downloadtor-804f2dd7165997dec896965f141898ec6415edc3.tar
tor-804f2dd7165997dec896965f141898ec6415edc3.tar.gz
Aliases do not work so well in scripts
svn:r18169
Diffstat (limited to 'contrib/directory-archive')
-rw-r--r--contrib/directory-archive/fetch-all-functions4
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(<>)'