]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Aliases do not work so well in scripts
authorPeter Palfrader <peter@palfrader.org>
Sun, 18 Jan 2009 13:22:45 +0000 (13:22 +0000)
committerPeter Palfrader <peter@palfrader.org>
Sun, 18 Jan 2009 13:22:45 +0000 (13:22 +0000)
svn:r18169

contrib/directory-archive/fetch-all-functions

index 72cc1caeaaf683b0b23e3364296db52500935374..a9335bda7b6a1315409a744ec8457c013e876432 100644 (file)
@@ -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(<>)'