Merge commit '638ecc4cde79b0296f2e04f683ca4cb881c28f36' as 'rtengine/libraw'
This commit is contained in:
28
rtengine/libraw/export-dist.sh
Executable file
28
rtengine/libraw/export-dist.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
DEST=$1
|
||||
VERSION=$2
|
||||
if test x$VERSION = x ; then
|
||||
VERSION=`./version.sh`
|
||||
echo VERSION set to $VERSION
|
||||
fi
|
||||
|
||||
if test -d $DEST ; then
|
||||
echo Using $DEST/$VERSION
|
||||
else
|
||||
echo Usage: $0 destination-dir
|
||||
exit 1
|
||||
fi
|
||||
cd ..
|
||||
for dir in LibRaw
|
||||
do
|
||||
cd $dir
|
||||
git pull origin
|
||||
cd ..
|
||||
done
|
||||
for dir in LibRaw
|
||||
do
|
||||
cd $dir
|
||||
git archive --prefix=$dir-$VERSION/ $VERSION | (cd $DEST; tar xvf - )
|
||||
cd ..
|
||||
done
|
Reference in New Issue
Block a user