[or-cvs] r18169: {tor} Aliases do not work so well in scripts (tor/trunk/contrib/directory-archive)
weasel at seul.org
weasel at seul.org
Sun Jan 18 13:22:45 UTC 2009
Author: weasel
Date: 2009-01-18 08:22:45 -0500 (Sun, 18 Jan 2009)
New Revision: 18169
Modified:
tor/trunk/contrib/directory-archive/fetch-all-functions
Log:
Aliases do not work so well in scripts
Modified: tor/trunk/contrib/directory-archive/fetch-all-functions
===================================================================
--- tor/trunk/contrib/directory-archive/fetch-all-functions 2009-01-18 13:12:47 UTC (rev 18168)
+++ tor/trunk/contrib/directory-archive/fetch-all-functions 2009-01-18 13:22:45 UTC (rev 18169)
@@ -72,7 +72,9 @@
}
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(<>)'
More information about the tor-commits
mailing list