From 52b508248734820d995afd74f546c55ff671e99f Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 7 Jan 2013 02:32:08 +0100 Subject: [PATCH] Preparing scripts for the "clean" target --- data/pkgconfig.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/pkgconfig.sh b/data/pkgconfig.sh index d9bc981..7e66bc9 100755 --- a/data/pkgconfig.sh +++ b/data/pkgconfig.sh @@ -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