Last active
August 29, 2015 14:22
-
-
Save halfnibble/e85efd2a49eb59e5fc0b to your computer and use it in GitHub Desktop.
Install script for my hosted zip archive of compiled playbook-dev-tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export NATIVE_TOOLS="/accounts/1000/shared/documents/clitools" | |
export NATIVE_TOOLS_URL="http://halfnibble.com/bbdev/" | |
# Write the QNX_CONFIGURATION file | |
CONFFILE="etc/qnxconf/qconfig/qnx_blackberry_native_development_kit_2.1.0.xml" | |
# unpack | |
unzip pbhome.zip | |
cp pbpkgadd bin/ | |
for pkg in packages/*.zip | |
do | |
./bin/pbpkgadd $pkg | |
done | |
. ./env.sh | |
cd | |
if [ ! -e .profile ]; then | |
cp "$NATIVE_TOOLS/sample_profile" .profile | |
else | |
echo "You already have a .profile." | |
echo "You can set up your paths by sourcing $NATIVE_TOOLS/env.sh" | |
echo "See $NATIVE_TOOLS/sample_profile for a snippet that does this" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment