summaryrefslogtreecommitdiffhomepage
path: root/lib.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lib.m4')
-rw-r--r--lib.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/lib.m4 b/lib.m4
index 02ae9ef..b90dc45 100644
--- a/lib.m4
+++ b/lib.m4
@@ -11,7 +11,7 @@ m4_define(__ifextra, [
])
m4_dnl Execute the script ‘$1’ in the ‘scripts/’ directory
-m4_define(__esyscmd, [m4_esyscmd([scripts/$1])])
+m4_define(__esyscmd, [m4_esyscmd([scripts/$*])])
m4_dnl Include the file ‘$1’ in the ‘src/’ directory, while also keeping track
m4_dnl of who called ‘__include’. This is required sometimes when expanding
@@ -58,3 +58,5 @@ m4_define(__entry, [
}
}
])
+
+m4_define(__tr, [__esyscmd(tr "$*")]) \ No newline at end of file