parser: Remove the unused attribute alignment from struct declaration_specifiers_t.
[cparser] / create_builtins_h.sh
index 17272f8..f8b560e 100755 (executable)
@@ -1,4 +1,6 @@
-#!/bin/bash
+#!/bin/sh
+
+INPUT="$1"
 
 cat <<__EOF__
 /* WARNING: automatically generated file. Generated from builtins/builtins.c */
@@ -6,7 +8,7 @@ cat <<__EOF__
 static const char builtins[] =
 __EOF__
 
-cat builtins/builtins.c | sed -e "s/^/\\\"/g" -e "s/$/\\\n\\\"/g"
+cat "$INPUT" | sed -e "s/^/\\\"/g" -e "s/$/\\\n\\\"/g"
 
 cat << __EOF__
 ;