Skip to content

Commit

Permalink
moving the LICENSE.txt to the root
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvold committed Feb 15, 2011
1 parent 6cb056b commit fe1d856
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,3 +6,5 @@
BASE.*
LOCAL.*
REMOTE.*
build

File renamed without changes.
12 changes: 6 additions & 6 deletions build.sh
Expand Up @@ -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/<em\:update.*//g' install.rdf > install.rdf.$$ &&
Expand All @@ -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 ..

0 comments on commit fe1d856

Please sign in to comment.