mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Fix case where people don't use ./unrealircd hot-patch but use something
like /home/xyz/unrealircd/unrealircd hot-patch instead. In other words, if the current working directory is not the location of the unrealircd script. Then calling ./unrealircd rehash, so the last step in the patching process, would fail. Reported by k4be. [skip ci]
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ elif [ "$1" = "hot-patch" -o "$1" = "cold-patch" ] ; then
|
||||
make || gmake || exit 1
|
||||
make install || gmake install || exit 1
|
||||
|
||||
cd -
|
||||
cd @SCRIPTDIR@
|
||||
if [ "$1" = "hot-patch" ]; then
|
||||
echo "Patch applied successfully and installed. Rehashing your IRCd..."
|
||||
./unrealircd rehash
|
||||
|
||||
Reference in New Issue
Block a user