Preparing scripts for the "clean" target
This commit is contained in:
parent
a838d32471
commit
cc01d5987b
|
@ -48,7 +48,7 @@ _debug()
|
|||
#usage
|
||||
_usage()
|
||||
{
|
||||
echo "Usage: pkgconfig.sh [-c|-i|-u][-P prefix] target" 1>&2
|
||||
echo "Usage: pkgconfig.sh [-c|-i|-u][-P prefix] target..." 1>&2
|
||||
return 1
|
||||
}
|
||||
|
||||
|
@ -90,6 +90,9 @@ while [ $# -gt 0 ]; do
|
|||
target="$1"
|
||||
shift
|
||||
|
||||
#clean
|
||||
[ $clean -ne 0 ] && continue
|
||||
|
||||
#uninstall
|
||||
if [ "$uninstall" -eq 1 ]; then
|
||||
$DEBUG $RM -- "$PKGCONFIG/$target" || exit 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user