More relevant info if a release file is missing. Dont know what this does but it...
Faiyaz Ahmed [Thu, 28 Feb 2008 17:27:14 +0000 (17:27 +0000)]
build.sh

index 4beb08e..6de6b8d 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -77,7 +77,9 @@ chroot root sh -c 'chkconfig --add plc; chkconfig plc on'
 if [ -f ../../../myplc-release ] ; then
   cp ../../../myplc-release myplc-release
 else
-  echo "No build release information found" > myplc-release
+  echo "Cannot find release information." > myplc-release
+  date >> myplc-release
+  echo "HeadURL" >> myplc-release
 fi
 # install it in /etc/myplc-release 
 install -m 444 myplc-release root/etc/myplc-release