Skip to content

Commit

Permalink
Make it possible to customize the BIRB_REMOTE variable from birb.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Toasterbirb committed Nov 4, 2023
1 parent 1300271 commit 8c67a54
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions birb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

# URL where birb gets its source code from
BIRB_REMOTE="https://github.com/birb-linux/birb"

# Check if the LFS variable is set
# If it isn't empty, it means that we are installing
# BirbOS and the LFS variable should be used as the
Expand Down Expand Up @@ -57,6 +54,10 @@ BIRB_REPO_LIST_PATH="$INSTALL_PREFIX/etc/birb-sources.conf"
[ -z "$BUILD_JOBS" ] && BUILD_JOBS="$(nproc)"
[ -z "$ENABLE_32BIT_PACKAGES" ] && ENABLE_32BIT_PACKAGES=yes

# URL where birb gets its source code from
[ -z "$BIRB_REMOTE" ] && BIRB_REMOTE="https://github.com/birb-linux/birb"


# Load the configuration file (if it exists)
if [ -f "$BIRB_CFG_PATH" ]
then
Expand Down
7 changes: 7 additions & 0 deletions birb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
# instead of the more stable main branch when fetching updates
export BIRB_DEV_MODE=false

# Birb remote
# This variable controls the remote git repository that birb
# fetches its updates from
#
# You can customize this to fit your own needs if you have your own fork
# of birb for example
export BIRB_REMOTE="https://github.com/birb-linux/birb"

# NOTE: These custom compiler flags only apply to the 64bit libraries

Expand Down

0 comments on commit 8c67a54

Please sign in to comment.