The Birdfont Source Code
Allow other repository names in release
These changes was commited to the Birdfont repository Thu, 21 Jan 2016 13:52:33 +0000.
Contributing
Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
Allow other repository names in release
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -15,9 +15,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
rep="$(pwd)"
+ repname="$(basename $(pwd))"
mkdir -p build
cd build
+ rm -rf export
mkdir -p export
cd export
@@ -51,7 +53,7 @@
git clone --depth 1 -b $1 file://$rep
fi
- mv birdfont birdfont-$version
+ mv $repname birdfont-$version
rm -rf birdfont-$version/.git
rm -rf birdfont-$version/.gitignore