mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Ports: Make package.sh dev work with ports that have slashes in $workdir
This commit is contained in:
parent
527502494c
commit
dcf8385e5b
Notes:
sideshowbarker
2024-07-17 10:52:58 +09:00
Author: https://github.com/alimpfard
Commit: dcf8385e5b
Pull-request: https://github.com/SerenityOS/serenity/pull/14055
Reviewed-by: https://github.com/danners
Reviewed-by: https://github.com/timschumi
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ do_dev() {
|
|||
exit 1
|
||||
fi
|
||||
|
||||
git_repo=".$workdir-git"
|
||||
git_repo=".${workdir////_}-git"
|
||||
[ -d "$git_repo" ] || (
|
||||
mv "$workdir" "$git_repo"
|
||||
pushd "$git_repo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue