Browse Source

pushd is a bash extension

Fix #5

I accidentally broke this while fixing #4
master
Alexey Sokolov 5 years ago
parent
commit
e8e0af1bae
  1. 4
      full/30-build-modules.sh

4
full/30-build-modules.sh

@ -1,7 +1,7 @@
# Build modules from source.
if [ -d "${DATADIR}/modules" ]; then
pushd "${DATADIR}/modules" || exit 11
cd "${DATADIR}/modules" || exit 11
# Find module sources.
modules=$(find . -name "*.cpp")
@ -12,6 +12,6 @@ if [ -d "${DATADIR}/modules" ]; then
/opt/znc/bin/znc-buildmod $modules || exit 12
fi
popd
cd /
fi

Loading…
Cancel
Save