equal
deleted
inserted
replaced
67 printf "\nExtracting..." |
67 printf "\nExtracting..." |
68 tar xzCf `dirname $0`/stage enano-$VERSION.tar.gz || fail "Could not extract tarball" |
68 tar xzCf `dirname $0`/stage enano-$VERSION.tar.gz || fail "Could not extract tarball" |
69 rm -f enano-$VERSION.tar.gz |
69 rm -f enano-$VERSION.tar.gz |
70 printf "\nCreating payload..." |
70 printf "\nCreating payload..." |
71 cd stage |
71 cd stage |
72 tar cjf ../enano-$VERSION-selfextract.tar.bz2 autorun.sh COPYING enano-$VERSION || fail "Could not create staging tarball" |
72 tar cjf ../enano-$VERSION-selfextract.tar.bz2 * || fail "Could not create staging tarball" |
73 rm -rf enano-$VERSION |
73 rm -rf enano-$VERSION |
74 cd .. |
74 cd .. |
75 printf "\nWriting output..." |
75 printf "\nWriting output..." |
76 cat self-extract.sh enano-$VERSION-selfextract.tar.bz2 > enano-$VERSION-bitnami-module.sh || fail "Could not write output" |
76 cat self-extract.sh enano-$VERSION-selfextract.tar.bz2 > enano-$VERSION-bitnami-module.sh || fail "Could not write output" |
77 chmod +x enano-$VERSION-bitnami-module.sh |
77 chmod +x enano-$VERSION-bitnami-module.sh |