Squashed 'rtengine/libraw/' content from commit cccb97647
git-subtree-dir: rtengine/libraw git-subtree-split: cccb97647fcee56801fa68231fa8a38aa8b52ef7
This commit is contained in:
28
export-dist.sh
Executable file
28
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