aboutsummaryrefslogtreecommitdiff
path: root/pq4ps
diff options
context:
space:
mode:
Diffstat (limited to 'pq4ps')
-rwxr-xr-xpq4ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/pq4ps b/pq4ps
index ace4a30..513bcec 100755
--- a/pq4ps
+++ b/pq4ps
@@ -2,7 +2,7 @@
INSTALLDIR="$(dirname "$(dirname "$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )")")" # Get main bash script directory's parent
-if [[ $# == 1 ]] && [[ "$1" == '-l' || "$1" == '--list' ]]; then
+if [ $# == 1 ] && [ "$1" == '-l' || "$1" == '--list' ]; then
perl "$0.pl" "$INSTALLDIR" | cut -d @ -f 1 | uniq
else
_ponies="$(perl "$0.pl" "$INSTALLDIR")"