downloader.sh
Code: Select all
#!/bin/bash
echo "Got a hit" >> file.txt
Code: Select all
Running /home/blinkiz/Downloads/downloader.sh /tmp/flashgot.qftmjuin.default/flashgot-7.fgt -- async
What am I doing wrong here?
Code: Select all
#!/bin/bash
echo "Got a hit" >> file.txt
Code: Select all
Running /home/blinkiz/Downloads/downloader.sh /tmp/flashgot.qftmjuin.default/flashgot-7.fgt -- async
Code: Select all
#!/bin/bash
DIR=$(dirname $0)
echo "Got hit" > $DIR/file.txt