Browse Source

verbose à notre sauce

Sniperovitch 8 years ago
parent
commit
fa9480f2bf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      cocktail

+ 4 - 1
cocktail

@@ -235,7 +235,10 @@ usage() {
 publish() {
 publish() {
     for ext in pdf docx html txt
     for ext in pdf docx html txt
     do
     do
-      cp -vf "$WORKING_FOLDER/$PROJET.$ext" "$STORE/$PROJET.$ext"
+      local from="$WORKING_FOLDER/$PROJET.$ext"
+      local to="$STORE/$PROJET.$ext"
+      verbose "$from -> $to"
+      cp -f "$from" "$to"
     done
     done
 }
 }