Changeset 924 for trunk/bin


Ignore:
Timestamp:
Dec 1, 2009, 1:38:57 PM (14 years ago)
Author:
Peter Johansson
Message:

#refs 380. added support for verbose switch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svndigest-copy-cache.as

    r923 r924  
    3434  -r  --root=ROOT       svn wc cache is copied from
    3535  -t, --target=TARGET   svn wc cache is copied to
     36  -v, --verbose         explain what is being done
    3637      --version         print version and exit
    3738
     
    7071          ],
    7172          [--target=*], [targetdir=$optarg; shift],
     73          [--verbose | -v], [cp_options=-v; shift],
    7274          [AS_ERROR([unknown option \`$1' ${as_nl}Try \`$as_me --help'],[1])
    7375          ]
     
    111113    AS_IF([test -d "$targetdir/$grandma"], [
    112114      AS_MKDIR_P(["$targetdir/$mother"])
    113       cp -v "$rootdir/$file" "$targetdir/$file" || AS_EXIT([1])
     115      cp $cp_options "$rootdir/$file" "$targetdir/$file" || AS_EXIT([1])
    114116    ], [
    115117      AS_ERROR([$targetdir/$grandma: No such directory], [1])
Note: See TracChangeset for help on using the changeset viewer.