change ccache option as bool type
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 31 Oct 2012 07:36:50 +0000 (15:36 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Wed, 31 Oct 2012 07:37:52 +0000 (15:37 +0800)
Change-Id: Ia21883b0d6817b3c3e2ebd367bc466913c56685f

depanneur

index 34094dd..4ddd65f 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -154,7 +154,7 @@ GetOptions (
     "no-configure" => \$run_configure,
     "threads=s" => \$MAX_THREADS,
     "extra-packs=s" => \$extra_packs,
-    "ccache=s" => \$ccache,
+    "ccache" => \$ccache,
     );
 
 if ( $help ) {
@@ -517,6 +517,7 @@ sub prepare_git {
     if (!$skip || $includeall == 1) {
         # Set cache_rev as 'include-all' if --include-all specified
         my $val = ($includeall == 1) ? "include-all" : $current_rev;
+        info("start export source from: $base ...");
         unless (write_cache($cache_key, $val, $base, $spec)) {
             clean_cache($cache_key);
             debug("$pkg_name was not exported correctly");