mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Functions.sh: fix source not found (#199)
Fixes the following issue on systems where /bin/sh != /bin/bash (e.g. Ubuntu): > source [...]/Scripts/Common/Tag_Verifier.sh && verifyTagIfPlatform : 1: source: not found for these (unsupported) systems the following is still required (not needed on Fedora or other systems using /bin/sh -> /bin/bash): 1. `ln -s /bin/bash ~/.local/bin/sh` 2. .bashrc -> `export PATH="$HOME/.local/bin:$PATH"` 3. .bashrc -> `alias sh='/bin/bash'` Signed-off-by: steadfasterX <steadfasterX@users.noreply.github.com>
This commit is contained in:
parent
750f244304
commit
5f783a6618
@ -33,7 +33,7 @@ patchWorkspace() {
|
|||||||
export -f patchWorkspace;
|
export -f patchWorkspace;
|
||||||
|
|
||||||
verifyAllPlatformTags() {
|
verifyAllPlatformTags() {
|
||||||
repo forall -c 'source $DOS_WORKSPACE_ROOT/Scripts/Common/Tag_Verifier.sh && verifyTagIfPlatform $REPO_PROJECT $REPO_PATH';
|
repo forall -v -c 'sh -c "source $DOS_WORKSPACE_ROOT/Scripts/Common/Tag_Verifier.sh && verifyTagIfPlatform $REPO_PROJECT $REPO_PATH"';
|
||||||
}
|
}
|
||||||
export -f verifyAllPlatformTags;
|
export -f verifyAllPlatformTags;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user