Skip to content

Commit cc67adc

Browse files
Add files via upload
1 parent c792fe7 commit cc67adc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fi
7373
fi
7474

7575
### Setting instalation path
76-
current=`pwd`
76+
current=$(dirname "$0")
7777
echo "[!] Where do you want to install ATSCAN?";
7878
echo " Set path or press enter to use default [/usr/share/]: "
7979
read refdir
@@ -103,9 +103,9 @@ echo "[i] Installing.. Plaise wait...";
103103
if [ $current != $refdir ];
104104
then
105105
echo "[i] Moving files to $refdir ...";
106-
cp -r $current/* $refdir/;
106+
cp -r $current/* $refdir;
107107
fi
108-
108+
109109
sleep 1 && echo "[i] Creating symbolic link...";
110110
echo "#!/bin/bash
111111
perl $refdir/atscan.pl" '${1+"$@"}' > atscan;

0 commit comments

Comments
 (0)