mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
Make palera1n.sh not directory dependant (#308)
* Make $dir not working directory dependent * Change all occurrences of $(pwd) and change git $(pwd) -> $(dirname "$0") git -> git -C $(dirname "$0") * Update palera1n.sh
This commit is contained in:
1 parent
4b4502884a
commit
b4ba4de2dc
1 file changed
+4
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd $(dirname "$0")
|
||||
|
||||
mkdir -p logs
|
||||
set -e
|
||||
|
||||
@@ -1011,3 +1013,5 @@ echo "If you have any issues, please join the Discord server and ask for help: h
|
||||
echo "Enjoy!"
|
||||
|
||||
} 2>&1 | tee logs/${log}
|
||||
|
||||
popd
|
||||
Reference in new issue
Block a user