You are not logged in.
Im trying reset a certain array (md5sums=('bla' 'bla')) and hard coated it in a file using bash:
source /path/to/a/./PKGBUILD
unset md5sums
md5sum config > temp.sums
new=`cat temp.sums | cut -d ' ' -f 1`
md5sum[1]=$new
when ${md5sum[@]} is echoed back to me, I can see it has changed. My problems is I need to hard coat that new array into the source file, but I can't figure out how to do that. Any ideas?
Offline
nevermind, I found a way around it
Offline