This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
topisto
/
apps
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
script block accept one argument
master
MEUNIER Thibaud
1 year ago
parent
cdb520e032
commit
4d4720a28c
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
scripts/block.sh
+ 5
- 1
scripts/block.sh
View File
@ -38,7 +38,11 @@ then
echec
fi
BLOCK
=
`
grep LAST
$DATA_PATH
/block_list.txt
|
awk
'{print $2}'
`
BLOCK
=
$1
if
[
-z
"
$BLOCK
"
]
then
BLOCK
=
`
grep LAST
$DATA_PATH
/block_list.txt
|
awk
'{print $2}'
`
fi
echo
$BLOCK
cd
$APPS_PATH
/info
Write
Preview
Loading…
Cancel
Save