diff options
author | monty@donna.mysql.com <> | 2000-09-07 04:55:17 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-07 04:55:17 +0300 |
commit | be5e4e72b67c1ce6d25ec6d961ed0f6b4d13a106 (patch) | |
tree | cd775f59b4803ef23e407df9d47af3ae7b517a13 /support-files/PKG/INSTALL.sh | |
parent | 0c07817b08812e18ecba76966cb84b562efb0d80 (diff) | |
download | mariadb-git-be5e4e72b67c1ce6d25ec6d961ed0f6b4d13a106.tar.gz |
Small bug fixes
Diffstat (limited to 'support-files/PKG/INSTALL.sh')
-rwxr-xr-x | support-files/PKG/INSTALL.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/support-files/PKG/INSTALL.sh b/support-files/PKG/INSTALL.sh new file mode 100755 index 00000000000..979f33f3f06 --- /dev/null +++ b/support-files/PKG/INSTALL.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +# search & check GNU patch +PATCH="gpatch" +$PATCH --version || PATCH="patch" +$PATCH --version || exit + + +if /usr/bin/test ! -e PKG/stamp-pre ; then + grep VERSION configure | head -1 | sed 's/VERSION=//' > ./PKG/version + touch PKG/stamp-pre +fi + +if /usr/bin/test ! -e PKG/stamp-patch ; then + ${PATCH} -p0 < ./PKG/patch + touch PKG/stamp-patch +fi + +if /usr/bin/test ! -e PKG/stamp-compile ; then +sh ./PKG/compile.sh ujis +touch PKG/stamp-compile + +sh ./PKG/doc.sh ujis + +fi + + +cd PKG +sh mkpkg.sh ujis |