]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 Jan 2009 16:20:35 +0000 (16:20 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 Jan 2009 16:20:35 +0000 (16:20 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@757 04377dda-e619-0410-9926-eae83683ac58

trunk/src/mkbuild

index d185ee0c9250d7a3067c278db41ba00e844bb2ac..ffa4d040c3c6cafe08a931fb50f06e6ebbc2d34c 100755 (executable)
@@ -200,6 +200,7 @@ function set_parameters {
       '--status')
         # Repository status
         ACTION="status"
+        MKBUILD_NAME="${2//.mkbuild}.mkbuild"
         break # we need to break otherwise specific arguments are evalued
       ;;
       '-um'|'--update-manifest')
@@ -330,7 +331,7 @@ function set_parameters {
     shift
   done
 
-  if [ ! -e "$MKBUILD_NAME" ] && [ "$ACTION" != "search" ]; then
+  if [ ! -e "$MKBUILD_NAME" ] && [ "$ACTION" != "search" ] &&  [ "$ACTION" != "status" ]; then
 
     search="`search_mkbuild`"