From fe1d8569970497bf76893010ffbab5b8fed15f6b Mon Sep 17 00:00:00 2001 From: Erik Vold Date: Mon, 14 Feb 2011 18:39:58 -0800 Subject: [PATCH] moving the LICENSE.txt to the root --- .gitignore | 2 ++ extension/LICENSE.txt => LICENSE.txt | 0 build.sh | 12 ++++++------ 3 files changed, 8 insertions(+), 6 deletions(-) rename extension/LICENSE.txt => LICENSE.txt (100%) diff --git a/.gitignore b/.gitignore index 94151373..e44912c7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ BASE.* LOCAL.* REMOTE.* +build + diff --git a/extension/LICENSE.txt b/LICENSE.txt similarity index 100% rename from extension/LICENSE.txt rename to LICENSE.txt diff --git a/build.sh b/build.sh index 4244c994..e77606e8 100755 --- a/build.sh +++ b/build.sh @@ -12,14 +12,15 @@ XPI="scriptish-$VER.xpi" # Copy base structure to a temporary build directory and change to it echo "Creating working directory ..." -cd extension rm -rf build mkdir build +cp LICENSE.txt build/ +cd extension cp -r \ - chrome.manifest components content defaults install.rdf license LICENSE.txt \ + chrome.manifest components content defaults install.rdf license \ locale modules skin \ - build/ -cd build + ../build/ +cd ../build if [ "amo" = "$1" ]; then (sed -e 's/ install.rdf.$$ && @@ -35,9 +36,8 @@ find . -depth -name '#*' -exec rm -rf "{}" \; find . -depth -name '.DS_Store' -exec rm "{}" \; echo "Creating $XPI ..." -zip -qr9XD "../../$XPI" * +zip -qr9XD "../$XPI" * echo "Cleaning up temporary files ..." cd .. rm -rf build -cd ..