uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/games/steam/steamcmd.sh
Normal file
27
pkgs/games/steam/steamcmd.sh
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#!@bash@/bin/bash -e
|
||||
|
||||
# Always run steamcmd in the user's Steam root.
|
||||
STEAMROOT=@steamRoot@
|
||||
|
||||
# Add coreutils to PATH for mkdir, ln and cp used below
|
||||
PATH=$PATH${PATH:+:}@coreutils@/bin
|
||||
|
||||
# Create a facsimile Steam root if it doesn't exist.
|
||||
if [ ! -e "$STEAMROOT" ]; then
|
||||
mkdir -p "$STEAMROOT"/{appcache,config,logs,Steamapps/common}
|
||||
mkdir -p ~/.steam
|
||||
ln -sf "$STEAMROOT" ~/.steam/root
|
||||
ln -sf "$STEAMROOT" ~/.steam/steam
|
||||
fi
|
||||
|
||||
# Copy the system steamcmd install to the Steam root. If we don't do
|
||||
# this, steamcmd assumes the path to `steamcmd` is the Steam root.
|
||||
# Note that symlinks don't work here.
|
||||
if [ ! -e "$STEAMROOT/steamcmd.sh" ]; then
|
||||
mkdir -p "$STEAMROOT/linux32"
|
||||
# steamcmd.sh will replace these on first use
|
||||
cp @out@/share/steamcmd/steamcmd.sh "$STEAMROOT/."
|
||||
cp @out@/share/steamcmd/linux32/* "$STEAMROOT/linux32/."
|
||||
fi
|
||||
|
||||
@steamRun@/bin/steam-run "$STEAMROOT/steamcmd.sh" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue