From 9ac34d44e1a8f174873566add0381897fbd242ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 27 Jun 2013 03:20:45 -0700 Subject: [PATCH] Update build and load script to not create symbolic links. --- build/build.sh | 4 ++-- build/load.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/build.sh b/build/build.sh index 98a8bce1..ef932534 100755 --- a/build/build.sh +++ b/build/build.sh @@ -34,9 +34,9 @@ fi ./preprocess.sh $MODE ../src/paper.js "-o '{ \"browser\": true, \"paperscript\": false }' -i '../src/constants.js'" ../dist/paper-core.js #./preprocess.sh $MODE ../src/paper.js "-o '{ \"node\": true }' -i '../src/constants.js'" ../dist/paper-node.js -# Remove the symbolic link and create a new one to the built library now +# Remove the existing file or symbolic link and copy paper-full.js to paper.js now if [ -f ../dist/paper.js ] then rm ../dist/paper.js fi -ln -s paper-full.js ../dist/paper.js +cp ../dist/paper-full.js ../dist/paper.js diff --git a/build/load.sh b/build/load.sh index b2cec51f..b3e79301 100755 --- a/build/load.sh +++ b/build/load.sh @@ -17,4 +17,4 @@ if [ -f ../dist/paper.js ] then rm ../dist/paper.js fi -ln -s ../src/load.js ../dist/paper.js +cp ../src/load.js ../dist/paper.js