Searched refs:scriptfile (Results 1 – 4 of 4) sorted by relevance
16 scriptfile="${2}"24 scriptdir="`dirname "$scriptfile"`"31 cat << '___EOF___' > "$scriptfile"34 cat "$cpuarrays" >> "$scriptfile"37 cat "$statefile" >> "$scriptfile"39 cat << '___EOF___' >> "$scriptfile"75 echo ' fn = "'"$statefile"'";' >> $scriptfile76 cat << '___EOF___' >> "$scriptfile"
254 scriptfile = open(os.path.join(controldir, script), 'w')258 scriptfile.write(scriptvar[:pos])261 scriptfile.write("#!/bin/sh\n")265 scriptfile.write('[ "$1" != "upgrade" ] || exit 0\n')267 scriptfile.write(scriptvar[pos:])268 scriptfile.write('\n')269 scriptfile.close()
228 scriptfile = open(os.path.join(controldir, script), 'w')229 scriptfile.write(scriptvar)230 scriptfile.close()
170 scriptfile = None179 …scriptfile = d.expand("${RECIPE_SYSROOT}${bindir}/postinst-useradd-" + sort_prefix + type + "-${PN…184 …scriptfile = d.expand("${SYSROOT_DESTDIR}${bindir}/postinst-useradd-" + sort_prefix + type + "-${P…186 if scriptfile:187 bb.utils.mkdirhier(os.path.dirname(scriptfile))188 with open(scriptfile, 'w') as script:192 os.chmod(scriptfile, 0o755)