Skip to content

Commit 30eb0ad

Browse files
committed
fix: Refactor profile_dir assignment for clarity and consistency
1 parent 89cdaad commit 30eb0ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

alteriso/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -Eeuo pipefail
44

55
# Determine script path
66
script_path=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
7+
profile_dir="${1-"${script_path}/configs/xfce"}"
78
if [[ -n "${1-""}" ]]; then
8-
profile_dir="${1-"${script_path}/configs/xfce"}"
99
shift 1
1010
fi
1111
work_dir="$script_path/work"
@@ -29,4 +29,4 @@ export PATH
2929

3030
# Clean up
3131
"$binfile" clean --workdir "$work_dir"
32-
rm "$binfile"
32+
rm "$binfile"

0 commit comments

Comments
 (0)