File duilder changed (mode: 100755) (index 87c4881..d8bce35) |
... |
... |
function duilder_git() |
60 |
60 |
exit 0 |
exit 0 |
61 |
61 |
fi |
fi |
62 |
62 |
|
|
|
63 |
|
echo "[*] Testing if a tag is present for HEAD..." |
|
64 |
|
D=`git describe | egrep -- '-g[0-9a-fA-F]*$'` |
|
65 |
|
if [ "${D}" != "" ]; then |
|
66 |
|
echo "No annotated tag preset for HEAD! Please add one!" |
|
67 |
|
exit 1 |
|
68 |
|
fi |
|
69 |
|
|
63 |
70 |
if [ "${EXPORT_GIT}" = "1" ]; then |
if [ "${EXPORT_GIT}" = "1" ]; then |
64 |
71 |
echo "[*] Generating GIT tree for HTTP transport..." |
echo "[*] Generating GIT tree for HTTP transport..." |
65 |
72 |
if [ ! -d "${GIT_DEST}/${PRJ}.git" ]; then |
if [ ! -d "${GIT_DEST}/${PRJ}.git" ]; then |
|
... |
... |
BIN="/bin" |
321 |
328 |
USR_BIN="/usr/bin" |
USR_BIN="/usr/bin" |
322 |
329 |
USR_SBIN="/usr/sbin" |
USR_SBIN="/usr/sbin" |
323 |
330 |
USR_INCLUDE="/usr/include" |
USR_INCLUDE="/usr/include" |
324 |
|
USR_LIB="/usr/lib" |
|
|
331 |
|
if [ "`uname -m`" = "i686" ]; then |
|
332 |
|
USR_LIB="/usr/lib" |
|
333 |
|
else |
|
334 |
|
USR_LIB="/usr/lib64" |
|
335 |
|
fi |
325 |
336 |
USR_SHARE="/usr/share" |
USR_SHARE="/usr/share" |
326 |
337 |
USR_SHARE_DOC="/usr/share/doc/${PRJ}-${VER}" |
USR_SHARE_DOC="/usr/share/doc/${PRJ}-${VER}" |
327 |
338 |
SBIN="/usr/sbin" |
SBIN="/usr/sbin" |