mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git_repo=".$workdir-git"
|
git_repo=".${workdir////_}-git"
|
||||||
[ -d "$git_repo" ] || (
|
[ -d "$git_repo" ] || (
|
||||||
mv "$workdir" "$git_repo"
|
mv "$workdir" "$git_repo"
|
||||||
pushd "$git_repo"
|
pushd "$git_repo"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue