We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789f0b5 commit dbf129fCopy full SHA for dbf129f
bin/ncp/CONFIG/nc-datadir.sh
@@ -70,8 +70,9 @@ configure()
70
echo "moving data directory from $SRCDIR to $DATADIR..."
71
72
# resolve symlinks and use the real path
73
- mkdir -p "$DATADIR"
+ mkdir "$DATADIR"
74
DATADIR=$(cd "$DATADIR" && pwd -P)
75
+ rmdir "$DATADIR"
76
77
# use subvolumes, if BTRFS
78
[[ "$( stat -fc%T "$BASEDIR" )" == "btrfs" ]] && {
0 commit comments