We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceeb2ae commit 5a6ab97Copy full SHA for 5a6ab97
1 file changed
configure
@@ -110,7 +110,11 @@ if [ $rval -ne 0 ]; then
110
echo "ERROR: xbps-checkvers exited with an error: $rval"
111
exit 1
112
fi
113
-grep pkgname $RCV_F | awk '{ print $2 }' > pkgs.txt
+if "$RCV" -V | grep "XBPS: 0.54" 1>/dev/null 2>&1; then
114
+ cut -d' ' -f1 "$RCV_F" >pkgs.txt
115
+else
116
+ grep pkgname "$RCV_F" | awk '{ print $2 }' >pkgs.txt
117
+fi
118
119
printf "INFO: Creating source targets...\n"
120
rm -rf tobuild built
0 commit comments