Mercurial > repo
view bin/newcmd @ 8854:562e853ebb4f
<b_jonas> fetch http://russell2.math.bme.hu/~ambrus/pu/p7zip-16.02-linux-bin-only.tar.xz
author | HackBot |
---|---|
date | Wed, 27 Jul 2016 12:40:04 +0000 |
parents | b76e90844898 |
children | 73e048cb5d2f |
line wrap: on
line source
if [ -a "bin/${1%% = *}" ];then exec echo "${1%% = *}: Already exists.";fi;echo "${1#* = }" > "bin/${1%% = *}";chmod +x "bin/${1%% = *}"