ghc-pkg-wrapper: use $( )

from opensuse
This commit is contained in:
Jens Petersen 2023-08-04 21:34:24 +01:00
parent 677bd4cd6b
commit 1775999b4f

View File

@ -1,6 +1,6 @@
#!/bin/sh
[ $# -lt 1 ] && echo "Usage: `basename $0` %{buildroot}%{ghclibdir} ..." && exit 1
[ $# -lt 1 ] && echo "Usage: $(basename $0) %{buildroot}%{ghclibdir} ..." && exit 1
set +x -e