[PC-BSD Commits] r15904 - pcbsd/current/src-sh/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Wed Mar 21 20:22:11 PDT 2012


Author: kris
Date: 2012-03-22 03:22:11 +0000 (Thu, 22 Mar 2012)
New Revision: 15904

Modified:
   pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
Log:

Skip blank args without failing



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-03-22 03:18:57 UTC (rev 15903)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-03-22 03:22:11 UTC (rev 15904)
@@ -624,7 +624,12 @@
             fi
             MPDIR="${DBDIR}/${PKGSET}"
             shift ;;
-         *) display_usage ;;
+         *) if [ -z "$1" ] ; then
+	      shift
+	    else
+	      display_usage
+	    fi 
+	    ;;
   esac
   shift
 done



More information about the Commits mailing list