mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-27 13:20:23 +00:00
9cf1bb87d9
This PR pulls the location of `bash` from the environment and makes any workarounds for systems like FreeBSD unnecessary that put the `bash` in a different directory.
18 lines
440 B
Bash
Executable File
18 lines
440 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Change the ReactOS source directory for the current session
|
|
# Part of RosBE for Unix-based Operating Systems
|
|
# Copyright 2009 Colin Finck <mail@colinfinck.de>
|
|
#
|
|
# Released under GNU GPL v2 or any later version.
|
|
|
|
if [ "$1" = "" ]; then
|
|
echo "chdefdir: Change the ReactOS source directory for the current RosBE session"
|
|
echo
|
|
echo "Syntax: chdefdir <directory>"
|
|
return 0
|
|
fi
|
|
|
|
export _ROSBE_ROSSOURCEDIR="$1"
|
|
basedir
|