From: Faiyaz Ahmed Date: Thu, 28 Feb 2008 17:27:14 +0000 (+0000) Subject: More relevant info if a release file is missing. Dont know what this does but it... X-Git-Tag: MyPLC-4.2-4~28 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=03658a36ab79baf891f0a3e64767ddba8fd72916;p=myplc.git More relevant info if a release file is missing. Dont know what this does but it looked like it could be useful. --- diff --git a/build.sh b/build.sh index 4beb08e..6de6b8d 100755 --- 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