]> diplodocus.org Git - nmh/commitdiff
How hard can it be to write a portable shell function that does nothing?
authorLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 07:07:17 +0000 (23:07 -0800)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Thu, 31 Jan 2013 07:07:17 +0000 (23:07 -0800)
Pretty hard, apparently :-P

test/common.sh.in

index cd99ad50c47b01887d04730880bc91abef48bf50..3c916274cf5a540ce0f3a55c200e92a12d5a3a3b 100644 (file)
@@ -96,8 +96,14 @@ if [ -t 1 ] ; then
   }
 else
   # don't emit anything if stdout is not connected to a tty.
   }
 else
   # don't emit anything if stdout is not connected to a tty.
-  progress_update () :
-  progress_done () :
+  progress_update ()
+  {
+       :
+  }
+  progress_done ()
+  {
+       :
+  }
 fi
 
 check_for_hard_links () {
 fi
 
 check_for_hard_links () {