Preparing scripts for the "clean" target
This commit is contained in:
parent
9de018ad46
commit
52b5082487
|
@ -48,7 +48,7 @@ _debug()
|
||||||
#usage
|
#usage
|
||||||
_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
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,6 +90,9 @@ while [ $# -gt 0 ]; do
|
||||||
target="$1"
|
target="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
#clean
|
||||||
|
[ $clean -ne 0 ] && continue
|
||||||
|
|
||||||
#uninstall
|
#uninstall
|
||||||
if [ "$uninstall" -eq 1 ]; then
|
if [ "$uninstall" -eq 1 ]; then
|
||||||
$DEBUG $RM -- "$PKGCONFIG/$target" || exit 2
|
$DEBUG $RM -- "$PKGCONFIG/$target" || exit 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user