Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3896

cfbs remove should automatically pre-pend ./ if necessary

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: cfbs
    • Labels:
      None

      Description

      With cfbs you can cfbs add ./my.cf and you can cfbs add my.cf, you can cfbs remove ./my.cf, but you can not cfbs remove my.cf without the leading ./.

      [root@hub cfbs]# cfbs add ENT-7468-.cf 
      Added module: ./ENT-7468-.cf
      [root@hub cfbs]# cfbs add ./ENT-7468-.cf 
      Skipping already added module: ./ENT-7468-.cf
      [root@hub cfbs]# cfbs remove ENT-7468-.cf 
      Module 'ENT-7468-.cf' not found
      [root@hub cfbs]# cfbs remove ./ENT-7468-.cf 
      Removing module './ENT-7468-.cf'
      [root@hub cfbs]# cfbs --version
      cfbs 1.2.1
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              larsewi Lars Erik Wik
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: