cd to script directory before doing anything
This commit is contained in:
parent
ee131052db
commit
61f04a3ece
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
# Author: TheElectronWill
|
||||
# This script downloads the latest version of Discord for linux, and creates a package with rpmbuild.
|
||||
|
||||
cd "$(dirname "$(readlink -f -- "$0")")"
|
||||
|
||||
source terminal-colors.sh # Adds color variables
|
||||
source common-functions.sh # Adds utilities functions
|
||||
source basic-checks.sh # Checks that rpmbuild is available and that the script isn't started as root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue