File: envsetup.sh

package info (click to toggle)
pmbootstrap 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,864 kB
  • sloc: python: 17,395; sh: 425; makefile: 17
file content (11 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh -e
if [ -e "pmbootstrap.py" ]; then
	PMB_PATH=$(pwd)
	# shellcheck disable=SC2139
	alias pmbroot="cd \"$PMB_PATH\""
	# shellcheck disable=SC2139
	alias pmbootstrap="$PMB_PATH/pmbootstrap.py"
else
	echo "ERROR: Please source this from the pmbootstrap folder."
	return 1
fi