We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c792fe7 commit cc67adcCopy full SHA for cc67adc
install.sh
@@ -73,7 +73,7 @@ fi
73
fi
74
75
### Setting instalation path
76
-current=`pwd`
+current=$(dirname "$0")
77
echo "[!] Where do you want to install ATSCAN?";
78
echo " Set path or press enter to use default [/usr/share/]: "
79
read refdir
@@ -103,9 +103,9 @@ echo "[i] Installing.. Plaise wait...";
103
if [ $current != $refdir ];
104
then
105
echo "[i] Moving files to $refdir ...";
106
- cp -r $current/* $refdir/;
+ cp -r $current/* $refdir;
107
108
-
+
109
sleep 1 && echo "[i] Creating symbolic link...";
110
echo "#!/bin/bash
111
perl $refdir/atscan.pl" '${1+"$@"}' > atscan;
0 commit comments