mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 08:41:15 +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: https://github.com/SerenityOS/serenity/commit/dcf8385e5b Pull-request: https://github.com/SerenityOS/serenity/pull/14055 Reviewed-by: https://github.com/danners Reviewed-by: https://github.com/timschumi
|
@ -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…
Reference in a new issue