Skip to content

Commit d3c0792

Browse files
committed
INSTALL.sh: Imply install mode if a target dir was provided
All the docs says it should behave like this, but this stopped working somewhere between 22.11.22 and 24.09.24. Users have to explicitly set --install.
1 parent b2f2397 commit d3c0792

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

INSTALL.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,7 @@ fi
13601360
if [ -n "$new_dir" ]; then
13611361
# new dir given, implies --install
13621362
inst_directory="$new_dir"
1363+
[ -z "$mode" ] && mode="install"
13631364
fi
13641365
clean_directory="$inst_directory/$clean_directory"
13651366
# set on command line, required for --clean and --cgi

0 commit comments

Comments
 (0)