Fix pushd/popd code

This commit is contained in:
Quentin 2019-05-23 11:03:25 +02:00
parent 15cf936c6d
commit 12970d3e3b

View file

@ -1,8 +1,7 @@
#!/bin/bash #!/bin/bash
mkdir -p $4/{log,shared,res} mkdir -p $4/{log,shared,res}
pushd pushd $4/shared
cd $4/shared
HS="`cat onion_services.pub | head -n1`.onion" HS="`cat onion_services.pub | head -n1`.onion"
popd popd