[haiku-commits] r35236 - haiku/trunk/build/scripts

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 22 Jan 2010 12:39:12 +0100 (CET)

Author: bonefish
Date: 2010-01-22 12:39:12 +0100 (Fri, 22 Jan 2010)
New Revision: 35236
Changeset: http://dev.haiku-os.org/changeset/35236/haiku

Modified:
   haiku/trunk/build/scripts/build_haiku_image
Log:
"&>" is not POSIX. Use "2>&1 >" instead.


Modified: haiku/trunk/build/scripts/build_haiku_image
===================================================================
--- haiku/trunk/build/scripts/build_haiku_image 2010-01-22 07:04:47 UTC (rev 
35235)
+++ haiku/trunk/build/scripts/build_haiku_image 2010-01-22 11:39:12 UTC (rev 
35236)
@@ -34,7 +34,7 @@
 
 # If the haiku image path is a symlink resolve it now (makebootable needs the
 # path of the actual device path under Linux).
-if readlink -f "$imagePath" &> /dev/null; then
+if readlink -f "$imagePath" 2>&1 > /dev/null; then
        normalizedImagePath=$(readlink -f "$imagePath")
        if [ "$normalizedImagePath" ]; then
                imagePath="$normalizedImagePath"


Other related posts: