Skip to content

Commit

Permalink
Merge branch 'master' of github.com:psi-plus/maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
drizt committed Feb 25, 2013
2 parents 5e7fdfe + 7ea626e commit a7902e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/posix/libpsibuild.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,16 @@ prepare_sources() {
fi
done

rev_date_list="$(cd ${PSI_DIR}/git/; git log -n1 --date=short --pretty=format:'%ad')
$(cd ${PSI_DIR}/git-plus/; git log -n1 --date=short --pretty=format:'%ad')"
rev_date=$(echo "${rev_date_list}" | sort -r | head -n1)

case "${CONF_OPTS}" in
*--enable-webkit*)
echo "0.16.${rev}-webkit (@@DATE@@)" > version
echo "0.16.${rev}-webkit ($(echo ${rev_date}))" > version
;;
*)
echo "0.16.${rev} (@@DATE@@)" > version
echo "0.16.${rev} ($(echo ${rev_date}))" > version
;;
esac
sed -i${SED_INPLACE_ARG} \
Expand Down

0 comments on commit a7902e6

Please sign in to comment.