diff options
author | Ricardo (XenGi) Band | 2015-12-24 21:17:33 +0100 |
---|---|---|
committer | Ricardo (XenGi) Band | 2015-12-24 21:17:33 +0100 |
commit | de096ce0ef9ae817017e654b8561da5b90360541 (patch) | |
tree | d83650d682768b9474949a7bf88ab58338c2aa7c | |
parent | 33e0892c0b388618e03ae07d0e81d8bfa26c4c71 (diff) | |
download | aur-de096ce0ef9ae817017e654b8561da5b90360541.tar.gz |
now with proper escaping
-rw-r--r-- | pokeshell.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokeshell.install b/pokeshell.install index 592c94f971a4..ed481d21e3e7 100644 --- a/pokeshell.install +++ b/pokeshell.install @@ -7,7 +7,7 @@ post_install() { echo "" echo "function fish_greeting" echo " set r (random)" - echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon" + echo " cat /usr/share/pokeshell/(math \"\$r % 151 + 1\").pokemon" echo "end" } @@ -20,6 +20,6 @@ post_upgrade() { echo "" echo "function fish_greeting" echo " set r (random)" - echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon" + echo " cat /usr/share/pokeshell/(math \"\$r % 151 + 1\").pokemon" echo "end" } |