Forráskód Böngészése

aliases deprecated in favor of bash functions

Nate Brady 8 éve
szülő
commit
e6ae443858
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      toolset/setup/linux/prerequisites.sh

+ 3 - 1
toolset/setup/linux/prerequisites.sh

@@ -45,6 +45,8 @@ sudo sh -c "echo '*            soft    rtprio             99' >> /etc/security/l
 # For now, this still ensures you have to be in the framework root to run it
 sudo tee /etc/profile.d/tfb.sh <<EOF
 #!/bin/bash
-alias tfb="$(pwd)/toolset/run-tests.py"
+tfb() {
+  $(pwd)/toolset/run-tests.py "\$@"
+}
 EOF
 source /etc/profile.d/tfb.sh