X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=buildtgz;h=37c734f87564ffbaba04f6a0ca6f0f1afc469947;hb=949fb2f48b9b34c510e4f30a6838651a6d33682e;hp=dec535dd6192dd51d56d901cbb2933bff9653cdc;hpb=a18b91b73ef7f42c21c0cadfd2c2d816bd7428e4;p=friendica-addons.git diff --git a/buildtgz b/buildtgz index dec535dd..37c734f8 100755 --- a/buildtgz +++ b/buildtgz @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Make doesn't handle subdirs very well # without providing a Makefile in each one. # So we will just manually find any source # directories which contain any files that -# are newer than are .tgz file and rebuild +# are newer than our .tgz file and rebuild # it if any are found SUBDIRS=`ls -d [a-z]*/ | tr -d /` @@ -11,11 +11,13 @@ for a in $SUBDIRS; do TGZ=$a.tgz if [[ ! -f $TGZ ]]; then echo "Building: " $TGZ +# git log $a > $a/$a.log tar zcvf $TGZ $a else TOUCHED=`find $a -cnewer $TGZ` if [[ -n $TOUCHED ]]; then echo "Building: " $TGZ +# git log $a > $a/$a.log tar zcvf $TGZ $a fi fi