We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27dbf00 commit 3602b03Copy full SHA for 3602b03
pkg2ab
@@ -7,7 +7,7 @@ LANG=C
7
8
##General Functions, move to abbs libs.
9
# fundump funname filename
10
-fundump(){ declare -f "$1" | head -n+1 | tail -n+2 | sed -re 's/^( ( |)|\t)//g' >> "$2"; }
+fundump(){ declare -f "$1" | head -n+1 | tail -n+2 | sed -re 's/^ //g' >> "$2"; }
11
# funhere funname
12
funhere(){ declare -F "$1" &>/dev/null; }
13
# getfile file
@@ -72,6 +72,7 @@ if [ "$ArchPatch" == 1 ]; then
72
fi
73
echo -e "$XTraPatch" >> autobuild.gen/patch
74
75
+# TODO: verspec member translation to ab syntax.
76
cat > autobuild.gen/defines << _end_of_abdef
77
# Generated by pkg2ab on $(date)
78
PKGNAME=$pkgname
0 commit comments