Add #!/bin/sh to all shell scripts.

This commit is contained in:
Jürg Lehni 2011-06-25 22:34:59 +02:00
parent 38768e81d5
commit d6cf11efce
7 changed files with 30 additions and 1 deletions

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,

View file

@ -1 +1,18 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,
# based on Scriptographer.org and designed to be largely API compatible.
# http://scriptographer.org/
#
# Copyright (c) 2011, Juerg Lehni & Jonathan Puckey
# http://lehni.org/ & http://jonathanpuckey.com/
#
# All rights reserved. See LICENSE file for details.
# Generate a paper.js file that uses load.js to directly load the library
# through the seperate source files in the src directory. Very useful during
# development of the library itself.
./preprocess.sh ../lib/parse-js.js ../lib/parse-js-min.js "" uglified

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,

View file

@ -1,3 +1,5 @@
#!/bin/sh
# Paper.js
#
# This file is part of Paper.js, a JavaScript Vector Graphics Library,
@ -24,7 +26,7 @@ mkdir lib
cp $BASE/dist/paper.js lib
# Copy examples over
cp -r $BASE/examples .
# Replace ../../dist with ../../lib/ in each example
# Replace ../../dist/ with ../../lib/ in each example
find examples -type f -print0 | xargs -0 perl -i -pe 's/\.\.\/\.\.\/dist\//\.\.\/\.\.\/lib\//g'
# Copy docs over
cp -r $BASE/dist/docs .