This commit is contained in:
Gwenhael Le Moine 2018-04-22 11:34:46 +02:00
parent cf3b15507f
commit 60a50402f9
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -30,7 +30,7 @@ mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM}
cd $TMP
[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/guillaumechereau/regdel.git $REPOSITORIES/$PRGNAM
( cd $REPOSITORIES/$PRGNAM && git pull )
VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
cp -R $REPOSITORIES/$PRGNAM/* $PKG$PREFIX/doc/$PRGNAM
mv $PKG$PREFIX/doc/$PRGNAM/$PRGNAM $PKG$PREFIX/bin/