Skip to content

Commit 0b7cccd

Browse files
author
Rain Oksvort
committed
Run configure script on first run
1 parent c5caddf commit 0b7cccd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

helpers/reload_dev.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12
# Recompiles and reloads the addon to simplify development
23
# Assumes that you already have Samba installed and configured
34

@@ -6,6 +7,14 @@ if [ "$(id -u)" -ne 0 ]; then
67
exit 1
78
fi
89

10+
11+
if [ -f Makefile ]; then
12+
echo "The configure script has already been run."
13+
else
14+
echo "The configure script has not been run yet. Running it now..."
15+
./configure --with-samba-source=$HOME/samba-4.17.12/source3
16+
fi
17+
918
make clean
1019
make
1120

0 commit comments

Comments
 (0)