-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Martin 'Hasan' Bramwell edited this page Sep 9, 2015
·
22 revisions
export PACKAGES=~/projects/packages
export PACKAGE_DIRS=${PACKAGES}/somebodyelse:${PACKAGES}/yourself
mkdir -p ${PACKAGES}/yourself
mkdir -p ${PACKAGES}/somebodyelse
export HAS_PACKAGE_DIRS=$(grep PACKAGE_DIRS ~/.profile | grep -c ${PACKAGES} ~/.profile)
[[ ${HAS_PACKAGE_DIRS} -lt 1 ]] && echo -e "\n#\nexport PACKAGE_DIRS=${PACKAGE_DIRS}" >> ~/.profile